This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Main (main, zip, zipRecord, class ZipRowList) where | |
import Control.Monad.Eff (Eff) | |
import Control.Monad.Eff.Console (CONSOLE, log) | |
import Data.Record (get, insert) | |
import Data.Symbol (class IsSymbol, SProxy(..)) | |
import Data.These (These(..)) | |
import Global.Unsafe (unsafeStringify) | |
import Prelude (Unit, discard) | |
import Type.Row |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Main where | |
import Control.Alternative ((<|>)) | |
import Control.Apply (lift2) | |
import Control.Monad.Eff (Eff) | |
import Control.Monad.Eff.Console (CONSOLE, logShow) | |
import Data.Argonaut.Core (Json) | |
import Data.Argonaut.Decode (class DecodeJson, decodeJson) | |
import Data.Argonaut.Encode (class EncodeJson, encodeJson) | |
import Data.Either (hush) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Main where | |
import Color (rotateHue) | |
import Color as Color | |
import Color.Scheme.MaterialDesign (red) | |
import Control.Apply (lift3) | |
import Control.Monad.Eff (Eff) | |
import Control.Monad.Eff.Console (logShow) | |
import Data.Maybe (Maybe(..)) | |
import Data.Monoid (mempty) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# LANGUAGE GADTs #-} | |
{-# LANGUAGE LambdaCase #-} | |
{-# LANGUAGE TypeFamilies #-} | |
{-# LANGUAGE TypeInType #-} | |
{-# LANGUAGE TypeOperators #-} | |
module Main (test01, test02, main) where | |
import Data.Kind |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# LANGUAGE DataKinds #-} | |
{-# LANGUAGE FlexibleInstances #-} | |
{-# LANGUAGE TypeFamilies #-} | |
{-# LANGUAGE TypeOperators #-} | |
{-# LANGUAGE UndecidableInstances #-} | |
module Main where | |
data Nil | |
data Cons x xs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# LANGUAGE TypeFamilies #-} | |
{-# LANGUAGE TypeOperators #-} | |
{-# LANGUAGE UndecidableInstances #-} | |
module YassQueen where | |
data Nil | |
data Cons x xs | |
type family First xs where | |
First (Cons x xs) = x |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Controller.SignUp where | |
import View.SignUp | |
( Input (..) | |
, Output (..) | |
, Message (..) | |
, State (..) | |
, Error (..) | |
, view |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# LANGUAGE | |
DataKinds | |
, DeriveAnyClass | |
, DeriveGeneric | |
, DerivingStrategies | |
, FlexibleContexts | |
, FlexibleInstances | |
, FunctionalDependencies | |
, GeneralizedNewtypeDeriving | |
, PolyKinds |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# LANGUAGE TypeFamilies #-} | |
{-# LANGUAGE TypeInType #-} | |
{-# LANGUAGE TypeOperators #-} | |
{-# LANGUAGE UndecidableInstances #-} | |
module Tree where | |
import Data.Kind | |
import GHC.TypeLits | |
data Tree a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Talk | |
-- Tom Harding | |
-- | |
-- Blog: tomharding.me | |
-- GitHub: github.com/i-am-tom | |
-- Twitter: twitter.com/am_i_tom | |
-- Work: habito.com | |
-- github.com/i-am-tom/LICK |