Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 235 Bytes

026-engine-haskell.md

File metadata and controls

13 lines (8 loc) · 235 Bytes

Does Haskell work with knitr?

Note we have to specify the compiler manually, e.g. engine.path='ghc' (haskell itself may not exist as an executable program).

[x | x <- [1..10], odd x]
## [1,3,5,7,9]