Make README pandoc-markdown-compatible
parent
aba7d13f67
commit
3751e83f8d
72
README.md
72
README.md
|
@ -55,32 +55,32 @@ require fixing:
|
||||||
|
|
||||||
- via `cabal` "old-build"
|
- via `cabal` "old-build"
|
||||||
|
|
||||||
~~~~.sh
|
~~~~.sh
|
||||||
# optionally:
|
# optionally:
|
||||||
# mkdir brittany
|
# mkdir brittany
|
||||||
# cd brittany
|
# cd brittany
|
||||||
# cabal sandbox init
|
# cabal sandbox init
|
||||||
cabal install brittany --bindir=$HOME/.cabal/bin # -w $PATH_TO_GHC_8_0
|
cabal install brittany --bindir=$HOME/.cabal/bin # -w $PATH_TO_GHC_8_0
|
||||||
~~~~
|
~~~~
|
||||||
|
|
||||||
- via `cabal new-build`
|
- via `cabal new-build`
|
||||||
|
|
||||||
~~~~.sh
|
~~~~.sh
|
||||||
cabal unpack brittany
|
cabal unpack brittany
|
||||||
cd brittany-0.8.0.2
|
cd brittany-0.8.0.2
|
||||||
# cabal new-configure -w $PATH_TO_GHC_8_0
|
# cabal new-configure -w $PATH_TO_GHC_8_0
|
||||||
cabal new-build exe:brittany
|
cabal new-build exe:brittany
|
||||||
# and it should be safe to just copy the executable, e.g.
|
# and it should be safe to just copy the executable, e.g.
|
||||||
cp `./find dist-newstyle/build/ -type f -name brittany` $HOME/.cabal/bin/
|
cp `./find dist-newstyle/build/ -type f -name brittany` $HOME/.cabal/bin/
|
||||||
~~~~
|
~~~~
|
||||||
|
|
||||||
- via `stack`
|
- via `stack`
|
||||||
|
|
||||||
~~~~.sh
|
~~~~.sh
|
||||||
git clone https://github.com/lspitzner/brittany.git
|
git clone https://github.com/lspitzner/brittany.git
|
||||||
cd brittany
|
cd brittany
|
||||||
stack install
|
stack install
|
||||||
~~~~
|
~~~~
|
||||||
|
|
||||||
|
|
||||||
# Usage
|
# Usage
|
||||||
|
@ -92,22 +92,22 @@ require fixing:
|
||||||
by default, i.e. to add something like this to your
|
by default, i.e. to add something like this to your
|
||||||
`~/.brittany/config.yaml` (execute `brittany` once to create default):
|
`~/.brittany/config.yaml` (execute `brittany` once to create default):
|
||||||
|
|
||||||
~~~~
|
~~~~
|
||||||
conf_forward:
|
conf_forward:
|
||||||
options_ghc:
|
options_ghc:
|
||||||
- -XLambdaCase
|
- -XLambdaCase
|
||||||
- -XMultiWayIf
|
- -XMultiWayIf
|
||||||
- -XGADTs
|
- -XGADTs
|
||||||
- -XPatternGuards
|
- -XPatternGuards
|
||||||
- -XViewPatterns
|
- -XViewPatterns
|
||||||
- -XRecursiveDo
|
- -XRecursiveDo
|
||||||
- -XTupleSections
|
- -XTupleSections
|
||||||
- -XExplicitForAll
|
- -XExplicitForAll
|
||||||
- -XImplicitParams
|
- -XImplicitParams
|
||||||
- -XQuasiQuotes
|
- -XQuasiQuotes
|
||||||
- -XTemplateHaskell
|
- -XTemplateHaskell
|
||||||
- -XBangPatterns
|
- -XBangPatterns
|
||||||
~~~~
|
~~~~
|
||||||
|
|
||||||
# Implementation/High-level Documentation
|
# Implementation/High-level Documentation
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue