Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "standard library" of helper functions #18

Open
Kacarott opened this issue Jan 25, 2022 · 2 comments
Open

Add "standard library" of helper functions #18

Kacarott opened this issue Jan 25, 2022 · 2 comments
Labels
feature request New feature or request v2 To be implemented for version 2

Comments

@Kacarott
Copy link
Collaborator

  • [en/de]coders for a variety of encodings
  • type constructors
  • combinators

Importable, or in some way modularised (LC.helpers?)

@Kacarott Kacarott added feature request New feature or request v2 To be implemented for version 2 labels Jan 25, 2022
@JohanWiltink
Copy link
Collaborator

  • combinators
  • datatypes: unit, booleans, ordering, lists, n-tuples ( probably in various encodings ) with various helpers
  • instances for standard number encodings: Enum ( succ, pred ), Ord ( compare, lt, le, eq, ge, gt, min, max ), Num ( +, -, *, /, %, ^, gcd, lcm ), Bits ( shift, and, or, xor, test, popCount, clz, ctz, even, odd )
  • BigInt, IEEE.754, BigNum - in exponentially increasing order of unlikeliness

@JohanWiltink
Copy link
Collaborator

Showcasing stuff in example kata is enough for now. copy-paste works just fine for a lot of folks. Also, without namespacing or renaming imports, resolving name clashes can only be done in a monolithic sourcefile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request v2 To be implemented for version 2
Projects
None yet
Development

No branches or pull requests

2 participants