3Elm.Native.Basics.make = function(elm) {
4 elm.Native = elm.Native || {};
5 elm.Native.Basics = elm.Native.Basics || {};
6 if (elm.Native.Basics.values) return elm.Native.Basics.values;
8 var JS = Elm.Native.JavaScript.make(elm);
9 var Utils = Elm.Native.Utils.make(elm);
18 function logBase(base, n) {
19 return Math.log(n) / Math.log(base);
27 function isInfinite(n) {
28 return n === Infinity || n === -Infinity
31 function truncate(n) {
36 return d * Math.PI / 180;
39 return 2 * Math.PI * t;
41 function fromPolar(point) {
44 return Utils.Tuple2(r * Math.cos(t), r * Math.sin(t));
46 function toPolar(point) {
49 return Utils.Tuple2(Math.sqrt(x * x + y * y), Math.atan2(y,x));
65 atan2: F2(Math.atan2),
74 compare: Utils.compare,
83 toFloat: function(x) { return x; },
85 isInfinite: isInfinite
88 return elm.Native.Basics.values = basics;
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