Remove typecase test

This commit is contained in:
Don Stewart 2005-05-19 02:24:25 +00:00
parent daf5624743
commit 6045e47850
3 changed files with 0 additions and 17 deletions

View File

@ -1,14 +0,0 @@
import AltData.Dynamic
import Data.Char
main = putStrLn f
f = let v = toDyn (7 :: Int)
in typecase (v) [
_Bool --> \(b::Bool) -> show (not b)++" :: Bool",
_Char --> \(c::Char) -> show (toUpper c)++" :: Char",
_Int --> \(i::Int) -> show (-i)++" :: Int",
_String --> \(s::String) -> show (reverse s)++" :: [Char]",
_IntToInt --> \(f::Int->Int) -> show (f 7) ++":: Int -> Int"
] ("couldn't find a typing")

View File

@ -1,2 +0,0 @@
TOP=../../..
include ../../eval.mk

View File

@ -1 +0,0 @@
-7 :: Int