Skip to content

EXio4/nitrun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nitrun

Run Haskell programs without having to compile[1] them!


#!/usr/bin/env nitrun

import System.Environment

factorial n = product [1..n]

main = print . factorial . read . head =<< getArgs

[1] actually compiles the program on-demand, and caches the binary

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published