Add example
This commit is contained in:
parent
c8acc534a9
commit
a0ba82ab38
7 changed files with 146 additions and 0 deletions
11
examples/testy/src/Testy.idr
Normal file
11
examples/testy/src/Testy.idr
Normal file
|
@ -0,0 +1,11 @@
|
|||
module Testy
|
||||
|
||||
import System
|
||||
import Data.String
|
||||
|
||||
-- @@test Hello World non-null
|
||||
helloNonNull : IO ()
|
||||
helloNonNull =
|
||||
if null "Hello World"
|
||||
then exitFailure
|
||||
else exitSuccess
|
Loading…
Add table
Add a link
Reference in a new issue