1
0
mirror of https://github.com/bennofs/nix-script synced 2025-01-10 12:54:20 +01:00
nix-script/example.hs

11 lines
187 B
Haskell
Raw Normal View History

2015-08-29 20:35:53 +02:00
#!/usr/bin/env nix-script
#!> haskell
#! haskell | text lens optparse-applicative
#! shell | nix nix-prefetch-scripts
2015-09-11 05:12:57 +02:00
import Control.Lens
2015-08-29 20:35:53 +02:00
main :: IO ()
main = do
putStrLn "It works!"