unisonweb/unison

Easy pickups: Things to contribute to when there would be a way to contribute to yet

Open

#764 opened on Aug 26, 2019

View on GitHub
 (11 comments) (0 reactions) (0 assignees)Haskell (304 forks)batch import
good first issue

Repository metrics

Stars
 (6,624 stars)
PR merge metrics
 (Avg merge 12d 19h) (6 merged PRs in 30d)

Description

From @aryairani in slack:

Maybe let’s open a ticket to the effect of “things I would contribute to unisonbase if there was a way to contribute to things to unisonbase”, and then list List.filter and anything else you think of.

Ideas for contributions:

base

  • ignore : a -> ()

  • void : (a ->{e} b) -> a ->{e} () (see https://github.com/unisonweb/base/issues/8; contributed, but not added to base yet)

  • repeat : Nat -> '{e} a ->{e} ()

  • forever : '{e} a ->{e} b

  • force : '{e} a ->{e} a

  • ability Ask a where ask : a

    • provide : a -> Request (Ask a) r -> r
  • ability Stream a where emit : a -> ()

    • toList
    • fromList
    • from : Nat ->{Stream Nat} a
    • range : Nat -> Nat ->{Stream Nat} ()
    • pipe
    • take
    • drop
    • takeWhile
    • dropWhile
    • terminated
    • map
    • filter
    • foldLeft
  • ability Store a where get : a ; put : a -> ()

    • store : a -> Request (Store a) r -> r
  • ability Show a where show : a -> Text?

    • Int./Nat./Boolean./etc.show : Request (Show a) v -> v

base.List

  • filter
  • group
  • groupBy
  • indexedMap

Contributor guide