mirror of
https://github.com/Noratrieb/idris-learning.git
synced 2026-01-15 13:35:01 +01:00
move and change
This commit is contained in:
parent
80aa1a2be7
commit
1330cb05e9
10 changed files with 161 additions and 142 deletions
8
chapter2/AverageMain.idr
Normal file
8
chapter2/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