.
authorMart Lubbers <mart@martlubbers.net>
Wed, 4 Nov 2020 15:41:46 +0000 (16:41 +0100)
committerMart Lubbers <mart@martlubbers.net>
Wed, 4 Nov 2020 15:41:46 +0000 (16:41 +0100)
fundeps/test.icl

index 242b640..034a2e8 100644 (file)
@@ -82,6 +82,7 @@ repeat a = let r = Vec (createArray (toInt (length r)) a) in r
 append :: (Vec n a) (Vec m a) -> Vec x a | Add n m x
 append (Vec a) (Vec b) = Vec (a +++ b)
 
+<<<<<<< HEAD
 //Start = nrepeat (Three :*: Three) 'a'
 
 v1 :: Vec (Succ (Succ Zero)) Int
@@ -90,6 +91,8 @@ v1 = append (single 1) (single 32)
 v2 :: Vec Three Int
 v2 = repeat 5
 
+=======
+>>>>>>> 7675818dc8fc41eaf864dc89a8c2ce62c7dae93f
 class Le a b ~c
 where
        le :: a b -> c
@@ -113,6 +116,7 @@ instance toInt (Succ n) | toInt n where toInt a = inc (toInt (dec a))
 :: A = A; :: B = B; :: C = C; :: D = D; :: E = E; :: F = F; :: G = G; :: H = H;
 :: I = I; :: J = J; :: K = K; :: L = L; :: M = M; :: N = N; :: O = O; :: P = P;
 :: Q = Q; :: R = R; :: S = S; :: T = T; :: U = U; :: V = V; :: W = W; :: X = X;
+<<<<<<< HEAD
 :: Y = Y; :: Z = Z; :: Spc = Spc
 :: Nl = Nl
 :: SC l r = SC
@@ -135,3 +139,16 @@ BarS = undef
 :: NilS :== ()
 NilS :: NilS
 NilS = undef
+=======
+:: Y = Y; :: Z = Z;
+:: Nul = Nul
+:: SC l r = SC
+
+Start = nrepeat (Three :*: Three) 'a'
+
+e1 :: Vec (Succ (Succ Zero)) Int
+e1 = append (single 1) (single 32)
+
+e2 :: Vec Three Int
+e2 = repeat 5
+>>>>>>> 7675818dc8fc41eaf864dc89a8c2ce62c7dae93f