Subversion

Galculator

?curdirlinks? -

Blame information for rev 8

Line No. Rev Author Line
1 1 paulosilva  
2 {-# LANGUAGE ExistentialQuantification #-}
3 {-# OPTIONS_GHC -Wall #-}
4  
5 -------------------------------------------------------------------------------
6  
7 {- |
8 Module      :  Data.Existential
9 Description :  Existential type patterns.
10 Copyright   :  (c) Paulo Silva
11 License     :  LGPL
12  
13 Maintainer  :  paufil@di.uminho.pt
14 Stability   :  experimental
15 Portability :  portable
16  
17 -}
18  
19 -------------------------------------------------------------------------------
20  
21 module Data.Existential where
22  
23 data Exists singleton term = forall t . Exists (singleton t) (term t)
24  
25 data Covert t = forall x . Hide (t x)
26  

Theme by Vikram Singh | Powered by WebSVN v2.3.3