Skip to content

Add "standard library" of helper functions #18

@Kacarott

Description

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

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

Activity

JohanWiltink

JohanWiltink commented on Feb 7, 2022

@JohanWiltink
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

JohanWiltink commented on Feb 7, 2022

@JohanWiltink
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestNew feature or requestv2To be implemented for version 2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @JohanWiltink@Kacarott

        Issue actions

          Add "standard library" of helper functions · Issue #18 · codewars/lambda-calculus