metaperl wrote:
> 
> 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.
> 
> 

Yeah, that's clearly what it is. If you look at the instance code you see
pattern matching based on that very same "L" and SkyClear:

instance report CloudsVertVisibility
where   report SkyClear =  ">05000"
                report (L cs) = case getCeilings cs of
                        []      -> ">05000"
                        cs      # visibility = minList cs
                                -> " " +++ toDigits visibility 5

-- 
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-tp19149990p19150148.html
Sent from the Clean mailing list archive at Nabble.com.

_______________________________________________
clean-list mailing list
[email protected]
http://mailman.science.ru.nl/mailman/listinfo/clean-list

Reply via email to