Skip to content

Instantly share code, notes, and snippets.

@szabba
Created October 2, 2015 20:20
Show Gist options
  • Save szabba/eb5ccbece273d0e4432c to your computer and use it in GitHub Desktop.
Save szabba/eb5ccbece273d0e4432c to your computer and use it in GitHub Desktop.
module Elm where
type alias X a = { a | x : Int }
type alias XY = X { y : Int }
type alias C a = { xs : List (X a) }
type alias CXXY = C XY
f : C (X XY) -> Int
f cxxy = 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment