Typeclass.jl icon indicating copy to clipboard operation
Typeclass.jl copied to clipboard

syntax sugar

Open blogle opened this issue 9 years ago • 0 comments

any chance of supporting some syntactic sugar for the class definitions? maybe

munit(::T) -> T mappend(x::T, y::T) -> T

or better yet, something like munit :: T -> T mappend(x, y) :: T, T -> T (or curried syntax T -> T -> T)

although I am not sure how difficult this is to implement in julia

blogle avatar Aug 25 '15 19:08 blogle