mirror of
https://github.com/anoma/juvix.git
synced 2024-12-15 01:52:11 +03:00
2baad15a41
* Enables new function syntax in local let-declarations * Closes #2251
14 lines
253 B
Plaintext
14 lines
253 B
Plaintext
{-# format: false #-}
|
|
module FormatPragma;
|
|
|
|
import Stdlib.Prelude open;
|
|
|
|
-- Bam, bam!
|
|
|
|
-- unformatted module
|
|
|
|
fun {A B C D} (f : A -> A) (g : B -> C -> D) (h : A -> B -> C) (i : D -> C -> C) (a : A) (b : B) : C :=
|
|
i
|
|
(g b (h (f a) b))
|
|
(h a b);
|