mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-20 01:41:44 +03:00
9 lines
209 B
Idris
9 lines
209 B
Idris
module Syntax.WithProof
|
|
|
|
||| Until Idris2 supports the 'with (...) proof p' construct, here's a
|
|
||| poor-man's replacement.
|
|
prefix 10 @@
|
|
public export
|
|
(@@) : (t : a ) -> (u : a ** t = u)
|
|
(@@) x = ( x ** Refl)
|