From 3b32429a0064159842a4147eb4accc7bdba63553 Mon Sep 17 00:00:00 2001 From: Miguel Date: Sat, 9 Mar 2019 22:30:25 +0100 Subject: added various css from pandoc for syntax highlighting --- .../00010_Links-and-Notes-and-Literature/index.md | 57 +++++++++++++++++----- 1 file changed, 45 insertions(+), 12 deletions(-) (limited to '080_blog/00040_Haskell/00010_Links-and-Notes-and-Literature') diff --git a/080_blog/00040_Haskell/00010_Links-and-Notes-and-Literature/index.md b/080_blog/00040_Haskell/00010_Links-and-Notes-and-Literature/index.md index 6e82b3b..2eb1215 100644 --- a/080_blog/00040_Haskell/00010_Links-and-Notes-and-Literature/index.md +++ b/080_blog/00040_Haskell/00010_Links-and-Notes-and-Literature/index.md @@ -6,29 +6,62 @@ * **Real World Haskell** by Bryan O'Sullivan, Don Stewart, and John Goerzen * **Parallel and Concurrent Programming in Haskell** by Simon Marlow -* **Haskell Wiki** https://wiki.haskell.org -* **UPENN CIS 194** https://www.seas.upenn.edu/~cis194/spring13/ -* **What I Wish I Knew When Learning Haskell** by Stephen Diehl -* **Data61 Course** https://github.com/data61/fp-course +* **Haskell Wiki** +* **UPENN CIS 194** +* **What I Wish I Knew When Learning Haskell** by Stephen Diehl +* **Data61 Course** * **Monads for functional programming (paper)** by Philip Wadler * **Functional Pearl (paper)** * **Why Functional Programming Matters (paper)** -* **Mailing Lists** https://www.haskell.org/mailing-lists/ +* **Mailing Lists** * **IRC** #haskell at chat.freenode.at -* **Monadic Warsaw** +* **Monadic Warsaw** -## Xmonad +## xmonad-contrib contribution -My little contribution to xmonad-contrib: +Added a pretty printer for empty visible workspaces\ + -* Added pretty printer for empty visible workspaces (wrapped in Maybe) - https://github.com/xmonad/xmonad-contrib/pull/241 +## Some GHC Flags -## GHC Flags (TODO: put here all the other flags I have documentend in this Makefile somweher :P ) - -gq ? + -v verbose mode + -O2 level 2 optimizations + -rtsopts allow +RTS flags + -prof enable basic time and allocation profiling + -auto-all cost centers on all top level functions + (you can also add them via the SCC pragma) + -caf-all generate data for CAFs (constant applicative forms) + -fforce-recomp force recompilation + -threaded Use threaed runtime + -eventlog enables +RTS -l flag + + -Wall + -Werror + + Notes: you will obtain the profiling versions of dependancies via: + stack install --profile [libraryname] + + -fprof-auto replaced -auto-all + -fprof-cafs replaced -caf-all + +## Some +RTS flags + + -K set stack limit + -s statistic reporting + -p profiling + -hc extract heap profile + -hy allocation by type + -hd allocation by constructor + -ix x is sampling frequency in seconds. e.g. 0.01) + -Nx x is number of cores to utilize + -l emit log file (can be used threadscope) + -ddump-simpl generate core + + Note: render the heap profile as graph with: hp2ps -e8in -c file.hp + show eventlog with: threadscope file.eventlog ## monad transformers in action -- cgit v1.2.3