Skip to content

Commit

Permalink
fix make juvix-format
Browse files Browse the repository at this point in the history
  • Loading branch information
janmasrovira committed Feb 21, 2023
1 parent 74819ca commit 2cefa17
Show file tree
Hide file tree
Showing 22 changed files with 0 additions and 22 deletions.
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ juvix-format: $(TOFORMAT)
$(TOFORMAT): %:
@echo "Formatting $@"
@juvix dev scope $@ --with-comments > $@.tmp
@echo "" >> $@.tmp
@mv $@.tmp $@
@echo "Typechecking formatted $@"
@juvix typecheck $@ --only-errors
Expand Down
1 change: 0 additions & 1 deletion examples/demo/Demo.juvix
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,3 @@ module Demo;
>> printNatLn (log2 3)
>> printNatLn (log2 130);
end;

1 change: 0 additions & 1 deletion examples/milestone/Collatz/Collatz.juvix
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,3 @@ module Collatz;
printStringLn welcome
>> readLn (run collatz ∘ stringToNat);
end;

1 change: 0 additions & 1 deletion examples/milestone/Fibonacci/Fibonacci.juvix
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@ module Fibonacci;
main : IO;
main := printNatLn (fibonacci 25);
end;

1 change: 0 additions & 1 deletion examples/milestone/Hanoi/Hanoi.juvix
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,3 @@ module Hanoi;
printStringLn
(unlines (map showMove (hanoi 5 left middle right)));
end;

1 change: 0 additions & 1 deletion examples/milestone/HelloWorld/HelloWorld.juvix
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ module HelloWorld;
main : IO;
main := printStringLn "hello world!";
end;

1 change: 0 additions & 1 deletion examples/milestone/PascalsTriangle/PascalsTriangle.juvix
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,3 @@ module PascalsTriangle;
main : IO;
main := printStringLn (unlines (map showList (pascal 10)));
end;

1 change: 0 additions & 1 deletion examples/milestone/TicTacToe/CLI/TicTacToe.juvix
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,3 @@ module CLI.TicTacToe;
main : IO;
main := printStringLn welcome >> run beginState;
end;

1 change: 0 additions & 1 deletion examples/milestone/TicTacToe/Logic/Board.juvix
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,3 @@ module Logic.Board;
showBoard (board squares) :=
unlines (surround "+---+---+---+" (map showRow squares));
end;

1 change: 0 additions & 1 deletion examples/milestone/TicTacToe/Logic/Extra.juvix
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,3 @@ module Logic.Extra;
unlines : List String → String;
unlines := intercalate "\n";
end;

1 change: 0 additions & 1 deletion examples/milestone/TicTacToe/Logic/Game.juvix
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,3 @@ module Logic.Game;
validMove : Nat → Maybe Nat;
validMove n := if (n <= 9 && n >= 1) (just n) nothing;
end;

1 change: 0 additions & 1 deletion examples/milestone/TicTacToe/Logic/GameState.juvix
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,3 @@ module Logic.GameState;
draw (state (board squares) _ _) :=
null (possibleMoves (flatten squares));
end;

1 change: 0 additions & 1 deletion examples/milestone/TicTacToe/Logic/Square.juvix
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,3 @@ module Logic.Square;
(empty n);
replace _ _ s := s;
end;

1 change: 0 additions & 1 deletion examples/milestone/TicTacToe/Logic/Symbol.juvix
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,3 @@ module Logic.Symbol;
showSymbol O := "O";
showSymbol X := "X";
end;

1 change: 0 additions & 1 deletion examples/milestone/TicTacToe/TicTacToe.juvix
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ module TicTacToe;
import CLI.TicTacToe;
import Web.TicTacToe;
end;

1 change: 0 additions & 1 deletion examples/milestone/TicTacToe/Web/TicTacToe.juvix
Original file line number Diff line number Diff line change
Expand Up @@ -173,4 +173,3 @@ module Web.TicTacToe;
renderAndReturn
(playMove (validMove (selectedSquare x y)) s);
end;

1 change: 0 additions & 1 deletion examples/milestone/Tutorial/Tutorial.juvix
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ module Tutorial;
main : IO;
main := printStringLn "Hello world!";
end;

1 change: 0 additions & 1 deletion examples/milestone/ValidityPredicates/Anoma/Base.juvix
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,3 @@ module Anoma.Base;
unwrap-default : Maybe Int → Int;
unwrap-default := maybe Int_0 id;
end;

1 change: 0 additions & 1 deletion examples/milestone/ValidityPredicates/Data/Int.juvix
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,3 @@ module Data.Int;
c ↦ "1";
};
end;

1 change: 0 additions & 1 deletion examples/milestone/ValidityPredicates/Data/Int/Ops.juvix
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,3 @@ module Data.Int.Ops;
c ↦ "plus";
};
end;

Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,3 @@ module SimpleFungibleToken;
(Int_0, true)
keys-changed);
end;

1 change: 0 additions & 1 deletion examples/milestone/ValidityPredicates/Tests.juvix
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,3 @@ module Tests;
>> printStringLn
(show-result (vp token keys-changed verifiers));
end;

0 comments on commit 2cefa17

Please sign in to comment.