Skip to content

Commit

Permalink
Revert "add join"
Browse files Browse the repository at this point in the history
This reverts commit a9bd82d.
  • Loading branch information
janmasrovira committed Aug 29, 2024
1 parent a9bd82d commit 363c481
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Stdlib/Trait/Monad.juvix
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,3 @@ syntax operator >>= seq;

syntax operator >=> seq;
>=> {A B C} {f : Type -> Type} {{Monad f}} (h : A -> f B) (g : B -> f C) (a : A) : f C := h a >>= g;

join {A} {f : Type -> Type} {{Monad f}} (x : f (f A)) : f A :=
do {
y <- x;
y;
};

0 comments on commit 363c481

Please sign in to comment.