5
votes
Accepted
Dyalog APL dyadic operator deriving ambivalent function to pair two function results
If you allow Behind, then _n_←{⍺←⊣ ⋄ ⍺ ⍺⍺⍛,∘⍵⍵/⍤,⍵} is arguably aesthetically nicer. However, this will just blindly concatenate left and right arguments, so if ...
3
votes
Mapping composition in Java
It appears that we prohibit null in the domain, but allow it in the range. This is by no means a bad thing (assuming it's intentional - and the use of explicit <...
2
votes
Accepted
Mapping composition in Java - v2
Your Mapping class seems unnecessary, as your compose function shown in the previous post could just use Map types, which are already defined in a standard way ...
1
vote
Accepted
Reversing a type converter with minimal redundancies
Why don't you define an abstract class with the following two methods:
One which can convert an object to ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
composition × 4java × 2
mathematics × 2
c# × 1
array × 1
functional-programming × 1
inheritance × 1
apl × 1