9 function inRange(min, max) {
10 return Elm.Signal.constant(Math.floor(Math.random() * (max-min+1)) + min);
13 function randomize(min, max, signal) {
14 function f(x) { return Math.floor(Math.random() * (max-min+1)) + min; }
15 return Elm.Signal.lift(f)(signal);
18 Elm.Native.Random = { inRange:F2(inRange), randomize: F3(randomize) };
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list