Skip to main content
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 ...
B. Wilson's user avatar
  • 116
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 <...
Sara J's user avatar
  • 4,221
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 ...
Kaushik Shankar's user avatar
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 ...
Peter Csala's user avatar
  • 10.8k

Only top scored, non community-wiki answers of a minimum length are eligible