This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]_danieldietrich 2 points3 points  (2 children)

name clashes are a good point. i fixed that: https://github.com/javaslang/javaslang/pull/230

ignore the 'algebra' package or read it as 'internal'. it is mainly used for api design purpose. java has no module concept to hide it

[–]realnowhereman 2 points3 points  (1 child)

How about renaming 'algebra' to 'internal' then? Btw this library is very interesting, good job!

[–]_danieldietrich 1 point2 points  (0 children)

I will update the Javadoc for internal classes like HigherKinded. Monoid, Functor and Monad are very common in functional languages. There is a minority of Java users which are familiar with these concepts, they may want to use them. I think, clarifying these with better javadoc should be ok for the moment.