mirror of
https://github.com/Noratrieb/idris-learning.git
synced 2026-01-15 05:25:06 +01:00
initial commit
This commit is contained in:
commit
80aa1a2be7
8 changed files with 142 additions and 0 deletions
8
AverageMain.idr
Normal file
8
AverageMain.idr
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
module Main
|
||||
import Average
|
||||
|
||||
showAverage : String -> String
|
||||
showAverage str = show (average str)
|
||||
|
||||
main : IO ()
|
||||
main = repl "\n> " showAverage
|
||||
Loading…
Add table
Add a link
Reference in a new issue