Skip to content

Commit

Permalink
various bugfixes + improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
bristermitten committed Nov 7, 2023
1 parent 0bfc230 commit a77c9df
Show file tree
Hide file tree
Showing 16 changed files with 60 additions and 3,060 deletions.
Binary file modified build/Main.class
Binary file not shown.
2 changes: 1 addition & 1 deletion build/Main.core.elr
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ module Main
{ Elara.Prim.True : Bool -> 1; Elara.Prim.False : Bool -> Elara.Prim.* n_5 (Main.fact (Elara.Prim.- n_5 1))}
;
Main.main : IO ()
= Elara.Prim.println (Elara.Prim.toString @([Int]) (Prelude.++ (Elara.Prim.cons 1 Elara.Prim.empty) (Elara.Prim.cons 2 Elara.Prim.empty))) }
= Elara.Prim.println (Elara.Prim.toString @([Int]) (Prelude.++ (Elara.Prim.cons 1 (Elara.Prim.cons 2 (Elara.Prim.cons 3 Elara.Prim.empty))) (Elara.Prim.cons 4 (Elara.Prim.cons 5 (Elara.Prim.cons 6 Elara.Prim.empty))))) }
14 changes: 7 additions & 7 deletions build/Main.typed.elr
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ let Main.main =
List
a_6 ->
List
a_6 [ 1 : Integer ] : List
Integer) : List
Integer ->
List
Integer [ 2 : Integer ] : List
Integer) : List
Integer) : Text) : IO Unit
a_6 [ 1 : Integer, 2 : Integer, 3 : Integer ] : List
Integer) : List
Integer ->
List
Integer [ 4 : Integer, 5 : Integer, 6 : Integer ] : List
Integer) : List
Integer) : Text) : IO Unit

Binary file modified build/Prelude.class
Binary file not shown.
2 changes: 1 addition & 1 deletion build/Prelude.core.elr
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module Prelude
{ Prelude.++ : forall (a_6 : Type). [a_6] -> [a_6] -> [a_6]
= \ (a_7 : [a_6]) (b_8 : [a_6]) -> case a_7 of (a_58 : forall (a_6 : Type). [a_6])
= \ (a_7 : [a_6]) (b_8 : [a_6]) -> case a_7 of (a_62 : forall (a_6 : Type). [a_6])
{ Elara.Prim.empty : [([a_6])] -> b_8; Elara.Prim.cons : [] (x_9 : a_6) (xs_10 : [a_6]) -> Elara.Prim.cons @a_6 x_9 (Prelude.++ xs_10 b_8)} }
Loading

0 comments on commit a77c9df

Please sign in to comment.