Dictu icon indicating copy to clipboard operation
Dictu copied to clipboard

Functools module

Open WillDaSilva opened this issue 2 years ago • 2 comments

It'd be nice to have a module (written in Dictu) for higher-order functions. Some examples of functions that could be included:

  • partial
  • memoize

More could be added, especially if support for generic collection iteration is added, but this would be a nice start.

WillDaSilva avatar Oct 01 '21 02:10 WillDaSilva

@Jason2605 do you have any suggestions for how a module written in Dictu could be added to the standard library?

WillDaSilva avatar Oct 02 '21 14:10 WillDaSilva

@WillDaSilva Yep, we went through it in this issue here: https://github.com/dictu-lang/Dictu/issues/431

If none of that makes sense happy to go through it again though. Probably worth me making some documentation on this

Jason2605 avatar Oct 02 '21 14:10 Jason2605