interpolation - Unknown haskell operator; `<>` -
this code appears use <>
interpolation operator. https://github.com/hlian/linklater/blob/master/examples/app/jointphotographicexpertsgrouptonga.hs
i can not find documentation nor source operator. ideas does/where from.
traditionally, <>
function defined in data.monoid
.
(<>) :: monoid => -> -> (<>) = mappend
however, semigroups
package has long used method of semigroup
class in data.semigroup
. of ghc 8, data.semigroup
has moved base
package. there plan in place making semigroup
superclass of monoid
. once complete, <>
function entirely replaced <>
method.
Comments
Post a Comment