Questions tagged [composition]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer

Mapping composition in Java - v2

This post is the continuation of Mapping composition in Java. This time, I: Disallowed the null values as the range value. Simplified the ...
coderodde's user avatar
  • 28.1k
3 votes
2 answers

Mapping composition in Java

(See also the continuation of this post.) This time, I have a mapping type: ...
coderodde's user avatar
  • 28.1k
3 votes
1 answer

Dyalog APL dyadic operator deriving ambivalent function to pair two function results

I'm writing a small utility operator which applies two functions to an argument pair and strands the results. The pair can either be given as two arguments or as a single argument with two elements. ...
Adám's user avatar
  • 656
2 votes
1 answer

Reversing a type converter with minimal redundancies

The objective is to implement the reversed version of StringToDoubleConverter but without writing too many redundancies. I love DRY (Don't Repeat Yourself) design ...
D G's user avatar
  • 135