Commit Graph

35 Commits

Author SHA1 Message Date
Veit Heller
2584518d1c
refactor: use derive in Vector modules (#1141) 2021-01-21 06:19:45 +01:00
Scott Olsen
26131f2b1c Add remaining implements declarations 2020-05-10 22:53:35 -04:00
hellerve
3ebe10d587 core: make Maybe.apply take function ref 2020-01-25 14:08:37 +01:00
GrayJack
07def7db23 Fix all nth usage 2019-10-31 06:23:23 -03:00
Jorge Acereda
7b7cb5d1e5 Substitute /= interface by a generic. 2019-09-20 23:49:20 +02:00
Jorge Acereda
d29ff19968 Remove #516 workaround. 2019-09-10 20:46:09 +02:00
Jorge Acereda
99516122b1 Generics no longer propagated. 2019-09-09 22:08:50 +02:00
Jorge Acereda
08af49dc62 Working on generics.
- Added Generics module.
- Some Geometry/Vector* functions hardcoded parameters to Double.
2019-09-08 13:02:04 +02:00
hellerve
c6a440d477 core: extend maybe and rework vector with it 2019-02-13 11:42:16 +01:00
hellerve
8b6ab7357e core: refactor the vector module; generic types and use module system 2019-01-21 21:52:45 +01:00
Erik Svedäng
fe55144273 Follow convention of passing lambdas as refs as default. 2018-11-14 14:09:43 +01:00
hellerve
16e2d7fb85 core: add remove! and put! and make reduce take ownership 2018-10-31 11:33:29 +01:00
hellerve
620bc4c5c5 all: use closures in core 2018-09-25 16:20:59 +02:00
hellerve
c82916612a core: document string, remove string-join 2018-06-15 16:38:34 +02:00
hellerve
a58cc23af6 core: document vector3 and vectorN 2018-06-14 11:14:59 +02:00
hellerve
fe30c29baf core: document vector2 2018-06-14 11:11:07 +02:00
Chris Hall
7c1dd210d7 Renaming: String.count -> String.length, Array.count -> Array.length
Issue #236
2018-05-23 10:03:42 +10:00
Erik Svedäng
26887f3716 Changed type signature of (set! ...) form. 2018-02-02 07:19:10 +01:00
Erik Svedäng
936dd8b26c Changed type of member getter method to always returning a Ref (used to be non-ref for primitive types). 2018-01-26 21:23:29 +01:00
hellerve
b561713add core: added random to vector and double; added random and random-between interfaces 2017-12-28 18:02:50 +01:00
hellerve
8c77e75ea2 added parallelity and perpendicularity test 2017-12-28 17:44:20 +01:00
hellerve
33c0a542e3 core: added zero api to vctor 2017-12-28 17:22:25 +01:00
hellerve
ca6ecafbbc core: added arithmetic ref interfaces and regular arithmetic interfaces, renamed functions in vectors 2017-12-13 11:10:42 +01:00
hellerve
e17b6b892c core: minor fixes 2017-12-04 19:17:52 +01:00
hellerve
843402c42f fixed test cases 2017-11-27 14:51:33 +01:00
hellerve
7151742518 vector: fixed test cases, also Array.copy for primitive types 2017-10-25 13:45:46 +02:00
hellerve
a0078c779a vectors: added lerp 2017-10-25 13:07:52 +02:00
hellerve
f8550e07a1 vectors: added n-dimensional vectors 2017-10-25 13:07:52 +02:00
hellerve
120116a70a vector2: integrated test suite 2017-10-25 13:07:52 +02:00
hellerve
81c2af23f1 vectors: most things work 2017-10-25 13:07:52 +02:00
hellerve
6dc31855d8 vectors: added a few math primitives and made most functions work 2017-10-25 13:07:52 +02:00
hellerve
6de836d545 vectors: added a few more functions; still no lerp 2017-10-25 13:07:52 +02:00
hellerve
c2cb743311 interim 2017-10-25 13:07:52 +02:00
hellerve
5baa8dd97f vectors: syntax errors, whoops 2017-10-25 13:07:52 +02:00
hellerve
6d2b8ba37a vectors: added basic, non-performant vector sketch 2017-10-25 13:07:52 +02:00