Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/Why is the meaning of `:` and `::` swapped in Daml vs. HaskellForum ↗

Why is the meaning of `:` and `::` swapped in Daml vs. Haskell

App Development2 posts1,378 views1 likesLast activity Oct 2022
ME
meschOP
Oct 2022

We repeatedly got confused by : used for type declarations and :: for the cons operator in Daml, which is just swapped from Haskell.

So just curious, why that choice? Is there a backstory?

MA
Matteo_Limberto
Oct 2022

Hi @mesch,

I believe this post on Medium delves into the subject.

Thanks,
Matteo

← Back to Discussions