Commit Graph

28 Commits

Author SHA1 Message Date
Mark
39fca08541 change loop function so you can write ().loop(() -> do_smth) 2023-11-08 15:11:28 +01:00
Mark
db59a1e92e remove diff, add subtract to replace it and work with iters, add lt, gt, ltoe, gtoe for < > <= >= 2023-11-07 18:37:37 +01:00
Mark
79660c1976 added stdio::flush so that we can print partial lines using print/eprint 2023-10-28 14:15:52 +02:00
Mark
2c9fb1b4a4 fix bug 2023-10-28 14:07:10 +02:00
Mark
59e36d1535 added sleep function 2023-10-28 14:00:03 +02:00
Mark
cabbdc1764 multithreading v2 2023-10-28 13:48:46 +02:00
Mark
577ef510ce error display underline now includes a.f(b) (b) part 2023-10-27 19:57:45 +02:00
Mark
cfa5a5e43e fix bug and change char in underline for error display 2023-10-27 19:47:55 +02:00
Mark
a30ba84691 more iter functions 2023-10-27 19:19:29 +02:00
Mark
6077de8370 fix get having completely wrong output type. whoops. 2023-10-27 17:31:05 +02:00
Mark
c652c618d2 fix get having wrong return type 2023-10-27 17:17:27 +02:00
Mark
cb52c961a2 fix todo!()s in with_iters 2023-10-27 17:09:48 +02:00
Mark
36e0f69d0c improve function type display 2023-10-27 14:56:01 +02:00
Mark
3b179ba2d4 adjust &list.pop return type to match actual return type 2023-10-27 14:45:37 +02:00
Mark
6618a4c00d remove eprintln 2023-10-27 14:36:21 +02:00
Mark
6f36ded38c fix bug when redeclaring a variable 3 times in the same scope 2023-10-27 14:35:10 +02:00
Mark
1384222b59 len function now works on lists because it works on all iterators 2023-10-27 14:22:14 +02:00
Mark
e60714e020 add support for a.f(b, c, d) syntax 2023-10-27 14:21:56 +02:00
Mark
fd2a3382fc fixed tuple reversing type order when initializing
and try's error message now starts counting at Function #1 instead of #0.
2023-10-24 20:04:14 +02:00
Mark
5e20f92849 Added the concept of subtypes ...
... which `try` now uses to avoid some problems with inner types
2023-10-24 09:31:49 +02:00
Mark
ea95a16c30 added better error messages inspired by rustc/cargo
but not as good
2023-10-23 21:48:15 +02:00
Mark
42288494f0 fix product function and add examples 2023-10-19 19:38:13 +02:00
Mark
b39a768099 . 2023-10-19 18:46:15 +02:00
Mark
2d79e75ba2 added len function 2023-08-19 23:35:29 +02:00
Mark
ae0e163595 assigning to tuples should work properly now 2023-08-15 19:18:52 +02:00
Mark
2a7cb08596 mers rewrite is starting to be usable 2023-08-14 17:17:08 +02:00
Mark
07745488b3 sorted mers_lib/src/program/configs/ and added cargo features 2023-07-28 15:20:02 +02:00
Mark
b81dac682e full rewrite, kinda works 2023-07-28 00:33:15 +02:00