Skip to content
CCPEDIAby Unity Nodes
App Development

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

2 posts1,407 views1 likesLast activity Oct 2022

  1. meschOP

    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?

  2. Matteo_Limberto 1

    Hi @mesch,

    I believe this post on Medium delves into the subject.

    Thanks,
    Matteo