Skip to content

haroldcarr/misc-diagrams

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stack build
stack exec juno
# if get:
juno: dot: runInteractiveProcess: runInteractiveProcess: exec: does not exist (No such file or directory)
# then
brew install graphviz

TemplateHaskell notes

ghci -XTemplateHaskell
:set -XTemplateHaskell
:m + Language.Haskell.TH

:{
runQ [d| root                = rectangle    "rootName"                "rootLabel"
         rootX               = rectangle    "rootName"                "rootLabel" |]
:}

runQ [d| testing   = "rootName" ++ "rootLabel"     |]
runQ [d| testing x = "rootName" ++ "rootLabel" ++ x|]

runQ [| \x -> Prelude.concat [[1::Integer],[x]] |]

About

Various diagrams from other projects - mostly using Haskell Data.GraphViz for generation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published