• Stars
    star
    128
  • Rank 281,044 (Top 6 %)
  • Language
    Haskell
  • License
    Other
  • Created over 10 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Visualize live Haskell data structures in GHCi

Visualize live Haskell data structures in GHCi

ghc-vis is a tool to visualize live Haskell data structures in GHCi. Evaluation is not forced and you can interact with the visualized data structures. This allows seeing Haskell’s lazy evaluation and sharing in action.

Author: Dennis Felsing [email protected]

Contributions, suggestions, and bug reports are welcome!

Documentation

At http://felsin9.de/nnis/ghc-vis

Installation

Windows and Stack

  1. Once
$ stack exec -- pacman -S mingw-w64-x86_64-pkg-config mingw-w64-x86_64-gtk3 mingw-w64-x86_64-gtk2 wget unzip 
$ stack exec -- echo 'export PATH=/c/graphviz/bin:$PATH' >> ~/.bashrc
$ stack install gtk2hs-buildtools glib cairo pango gtk
$ git clone https://github.com/def-/ghc-vis.git
$ stack install
  1. Each time

In ghc-vis folder:

$ stack repl
ghci> :script ghci
ghci> :vis

More Repositories

1

time.gif

GIF that always shows the current time in UTC
Haskell
488
star
2

gifstream

Make interactive games in Haskell using GIF streams that can be shown in the web browser
Haskell
199
star
3

nim-unsorted

Unsorted Nim code that I wrote for some reason (largely Rosetta Code)
Nim
105
star
4

nim-platformer

Writing a 2D Platform Game in Nim with SDL2
Nim
60
star
5

rrb

rrb is a simple set of scripts to take backups by hand and automatically by a backup server using rsync and manage them.
Shell
41
star
6

nim-brainfuck

A brainfuck interpreter and compiler written in Nim
Nim
40
star
7

nim-binary-size

Nim binary size from 160 KB to 150 Bytes
Shell
39
star
8

nim-syscall

Raw system calls for Nim
Nim
36
star
9

nim-benchmarksgame

Collection of Nim implementations for The Computer Language Benchmarks Game
C
28
star
10

nim-iterutils

Functional operations for iterators and slices, similar to sequtils, in Nim
Nim
21
star
11

nim-nanomsg

Nim wrapper for nanomsg, a socket library that provides several common communication patterns. It aims to make the networking layer fast, scalable, and easy to use.
Nim
20
star
12

nim-http-speedup

Attempt to speed up HTTP servers in Nim
Nim
19
star
13

tach

tach is a script that provides automatic detaching and reattaching of terminals using dtach
Shell
18
star
14

ghc-datasize

ghc-datasize is a tool to determine the size of Haskell data structures in GHC's memory
Haskell
16
star
15

nim-small-coreutils

Coreutils that compile into tiny binaries
Nim
14
star
16

libbpg

Bellard's Better Portable Graphics
C++
10
star
17

nim-units

Physical quantities and units for Nim
Nim
9
star
18

nim-advent-of-code-2015

Advent of Code solutions in Nim
Nim
7
star
19

xdot

xdot library for Haskell
Haskell
4
star
20

nimfmt

Nim
4
star
21

nim-rsvg

Nim wrapper for librsvg, a Scalable Vector Graphics (SVG) rendering library
Nim
3
star
22

nim-bpg

BPG (Better Portable Graphics) for Nim
Nim
2
star
23

nim-hipterm

Hip Terminal User Interfaces in Nim
Nim
2
star
24

niwm

Nim Window Manager
C
2
star
25

nimutils

Coreutils in Nim
Nim
2
star
26

adventofcode-2022

Advent of Code 2022 solutions
Python
1
star
27

icu-beds

Development of ICU Beds by German Federal State
Python
1
star
28

nim-bench

Nim
1
star