Closed YoEight closed 12 years ago
Huh?
The following works for me:
infix 7 >>>
a >>> b = a b
Did you enclose the new operator in the infix declaration in ``?
The following works:
infix 7 `>>>`
(Hope I got the formatting right now.) I amended the Differences to Haskell accordingly.
Well, I didn't have all my mind tonight. It's working properly. You can have a look at frege.control.Category and Arrow which are almost copy/paste version of Haskell version. Can't wait to have (.) :)
Hi Yorick, that's why we all love the French, for their spontaneity, even if this sometimes results in utter chaos! :)
You can use the time trying to adjust the doc comments:
--- single line {-- multi line
another paragraph
code example
- listitem
- listitem
- item 1
- item 2 -}
Applies to the next (top level) definition. Doc comments for constructors or record fields come after the commented item. There is also some basic markup, the most important is 'name' where name is some type or function name. This will result in a clickable reference to where 'name' is described.
2012/10/11 Yorick notifications@github.com
Well, I didn't have all my mind tonight. It's working properly. You can have a look at frege.control.Category and Arrow which are almost copy/paste version of Haskell version. Can't wait to have (.) :)
— Reply to this email directly or view it on GitHubhttps://github.com/Frege/frege/issues/15#issuecomment-9322440.
It's in my task list, i'll do it tonight
We can't declare those functions as 'operators':
Good part, I think I'm able to fix it :)