1
Fork 0

Move stuff around + add lean and idris experiments

This commit is contained in:
Matei Adriel 2023-10-29 00:02:10 +02:00
parent a45a4e94b3
commit ca3f83d186
122 changed files with 1959 additions and 2 deletions
purescript/existentials-blog/src

View file

@ -0,0 +1,17 @@
module Exists where
import Prelude
import Data.Exists (Exists, mkExists)
-- type Exists f = forall result. (forall a. f a (a -> result)) -> result
type Forall :: forall k. (k -> Type) -> Type -> Type
type Forall f r = forall a. f a -> r
{- type Showable a f = Show a => f
type EConstructor f = forall a. f a (a -> Exists f)
mkShowable :: EConstructor Showable
mkShowable a f = f a -}

View file

@ -0,0 +1,10 @@
module Main where
import Prelude
import Effect (Effect)
import Effect.Console (log)
main :: Effect Unit
main = do
log "🍝"