⚡ Sangsakala Proxy 🏠 Home
Skip to content

Add List.uncons and other Haskell List functions #220

Open

Description

@mperry

Add uncons to List and other functions that are in Haskell, see https://hackage.haskell.org/package/base-4.8.1.0/docs/Data-List.html

Activity

  1. changed the title [-]Add List.uncons[/-] [+]Add List.uncons and other Haskell List functions[/+] on Feb 4, 2016
  2. e1iu commented on Feb 16, 2016

    @e1iu

    The uncons return a two-tuples?

    list(1, 2 ,3).uncons().first() // 1
    list(1, 2, 3).uncons().second()// (2, 3)
  3. gliptak commented on Aug 5, 2017

    @gliptak
    Contributor
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions