Questions tagged [composition]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
84 views

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
129 views

Mapping composition in Java

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

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
70 views

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