BSD3 licensed by Athan Clark
Maintained by athan.clark@gmail.com

Module documentation for 0.0.2.0

n-tuple

{-# LANGUAGE DataKinds -#}

import Data.NTuple


foo :: NTuple 3 String
foo
  = incl _3 "three"
  . incl _2 "two"
  . incl _1 "one"
  $ empty


one :: String
one = proj _1 foo

two :: String
two = proj _2 foo
Depends on 3 packages:
Used by 1 package:
comments powered byDisqus