Skip to content

Commit

Permalink
output update (need to gitignore these)
Browse files Browse the repository at this point in the history
  • Loading branch information
bristermitten committed Oct 3, 2023
1 parent 4825d10 commit e1ab6b0
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 15 deletions.
Binary file modified build/Main.class
Binary file not shown.
3 changes: 2 additions & 1 deletion build/Main.core.elr
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ Main.x : Int
;
Main.main : IO ()
= let y_2 : Int
= Prelude.+ Main.x 1 in Prelude.println (Prelude.toString @Int y_2) }
= Prelude.+ Main.x 1 in let z_3 : Int
= Prelude.+ y_2 1 in Prelude.println (Prelude.toString @Int z_3) }
16 changes: 10 additions & 6 deletions build/Main.typed.elr
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,14 @@ let Main.main =
let y_2 = ((Prelude.(+) : Integer ->
Integer ->
Integer Main.x : Integer) : Integer ->
Integer 1 : Integer) : Integer in (Prelude.println : Text ->
IO Unit
((Prelude.toString : forall (a_3 : Type) .
a_3 ->
Text @Integer) : Text y_2 : Integer) : Text) : IO Unit
: IO Unit
Integer 1 : Integer) : Integer in let z_3 = ((Prelude.(+) : Integer ->
Integer ->
Integer y_2 : Integer) : Integer ->
Integer 1 : Integer) : Integer in (Prelude.println : Text ->
IO Unit
((Prelude.toString : forall (a_4 : Type) .
a_4 ->
Text @Integer) : Text z_3 : Integer) : Text) : IO Unit
: IO Unit
: IO Unit

4 changes: 2 additions & 2 deletions build/Prelude.core.elr
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ module Prelude
{ Prelude.println : String -> IO ()
= Elara.Prim.elaraPrimitive @(String -> IO ()) "println"
;
Prelude.toString : forall (a_3 : Type). a_3 -> String
= Elara.Prim.elaraPrimitive @(a_3 -> String) "toString"
Prelude.toString : forall (a_4 : Type). a_4 -> String
= Elara.Prim.elaraPrimitive @(a_4 -> String) "toString"
;
Prelude.+ : Int -> Int -> Int
= Elara.Prim.elaraPrimitive @(Int -> Int -> Int) "+" }
12 changes: 6 additions & 6 deletions build/Prelude.typed.elr
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ let Prelude.println =
IO Unit


def Prelude.toString : forall (a_3 : Type) . a_3 -> Text
def Prelude.toString : forall (a_4 : Type) . a_4 -> Text
let Prelude.toString =
((Elara.Prim.elaraPrimitive : forall (a_0 : Type) . Text -> a_0 @a_3 ->
Text) : forall (a_3 : Type) .
a_3 ->
Text "toString" : Text) : forall (a_3 : Type) .
a_3 ->
((Elara.Prim.elaraPrimitive : forall (a_0 : Type) . Text -> a_0 @a_4 ->
Text) : forall (a_4 : Type) .
a_4 ->
Text "toString" : Text) : forall (a_4 : Type) .
a_4 ->
Text

def Prelude.(+) : Integer -> Integer -> Integer
Expand Down

0 comments on commit e1ab6b0

Please sign in to comment.