summaryrefslogtreecommitdiff
path: root/tests/examplefiles/example.hs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/examplefiles/example.hs')
-rw-r--r--tests/examplefiles/example.hs41
1 files changed, 0 insertions, 41 deletions
diff --git a/tests/examplefiles/example.hs b/tests/examplefiles/example.hs
deleted file mode 100644
index 764cab77..00000000
--- a/tests/examplefiles/example.hs
+++ /dev/null
@@ -1,41 +0,0 @@
-module ĈrazyThings where
-
-import "base" Data.Char
-import "base" Data.Char (isControl, isSpace)
-import "base" Data.Char (isControl, --isSpace)
- isSpace)
-import "base" Data.Char (isControl, -- isSpace)
- isSpace)
-
-(-->) :: Num a => a -- signature
-(-->) = 2 -- >implementation
-
---test comment
--- test comment
-
-main :: IO ()
-main = putStrLn "hello world"
-
-gádd x y = x + y
-ádd x y = x + y
-
-
-data ĈrazyThings =
- Ĉar |
- House |
- Peár
- deriving (Show, Eq)
-
--- some char literals:
-
-charl = ['"', 'a', '\ESC', '\'', ' ']
-
--- closed type families
-type family Fam (a :: Type) = r :: Type where
- Fam Int = True
- Fam a = False
-
--- type literals
-type IntChar = '[Int, Char]
-type Falsy = 'False
-type Falsy = '(10, 20, 30)