[clean-list] What does the L mean in the expression: :CloudsVertVisibility = L [CloudsVV] | SkyClear

Erik Zuurbier erik.zuurbier at planet.nl
Tue Aug 26 22:46:20 MEST 2008


Correct
----- Original Message ----- 
From: "metaperl" <metaperl at gmail.com>
To: <clean-list at science.ru.nl>
Sent: Monday, August 25, 2008 9:25 PM
Subject: [clean-list] What does the L mean in the expression: 
:CloudsVertVisibility = L [CloudsVV] | SkyClear


>
> I dont understand what the "L" means below. I'm guessing it is a type
> constructor for CludsVertVisibility which takes one argument... Just like
> "SkyClear" is a nullary type constructor.
>
> // clouds and vertical visibility
>
> :: CloudsVertVisibility = L [CloudsVV] | SkyClear
>
> :: CloudsVV = {amount :: CloudAmount,visibility :: Int}
>
> :: CloudAmount = Few | Scattered | Broken | Overcast
> -- 
> View this message in context: 
> http://www.nabble.com/What-does-the-L-mean-in-the-expression%3A-%3A-CloudsVertVisibility-%3D-L--CloudsVV--%7C-SkyClear-tp19149990p19149990.html
> Sent from the Clean mailing list archive at Nabble.com.
>
> _______________________________________________
> clean-list mailing list
> clean-list at science.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/clean-list 



More information about the clean-list mailing list