Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 1.17 KB

README.md

File metadata and controls

41 lines (32 loc) · 1.17 KB

"Advanced Functional Programming" course materials, MIMUW 2023/24

  • Generated Lecture notes in the www subdir, source in Slides
  • Generating lecture notes and slides needs pandoc

Quick start

$ cabal update
$ cabal install pandoc --installdir=$HOME/.local/bin # or your favorite bindir
$ PATH=~/.local/bin:$PATH
$ git clone git://github.com/mbenke/zpf2022.git
$ cd zpf2022/Slides
$ make

or using stack - https://haskellstack.org/

stack setup
stack install pandoc  # this takes a longer while
export PATH=$(stack path --local-bin):$PATH
...

On students, using stack is not advised, but you can try using system GHC:

export STACK="/home/students/inf/PUBLIC/MRJP/Stack/stack --system-ghc"
$STACK setup  --resolver lts-19.33
$STACK config set system-ghc --global true
$STACK config set resolver lts-19.33
$STACK upgrade --force-download  # or cp stack executable to your path
#  ...
#  Should I try to perform the file copy using sudo? This may fail
#  Try using sudo? (y/n) n

export PATH=$($STACK path --local-bin):$PATH

Installing pandoctakes time and is optional, there are prebuilt HTML files in the www folder (or you can just read markdown).