Skip to content

Fix HKT, Tuple and infix rendering in TypePrinter#117

Open
matejcerny wants to merge 2 commits into
VirtusLab:mainfrom
matejcerny:rendering-hkt-tuple-infix
Open

Fix HKT, Tuple and infix rendering in TypePrinter#117
matejcerny wants to merge 2 commits into
VirtusLab:mainfrom
matejcerny:rendering-hkt-tuple-infix

Conversation

@matejcerny

Copy link
Copy Markdown

follow up on #102

HKT

  • previously def compose[G >: TypeLambda <: TypeLambda](evidence$1: Applicative[G]): Applicative[TypeLambda]
  • now def compose[G[_]](implicit evidence$1: Applicative[G]): Applicative[[α] =>> F[G[α]]]

Functions

  • previously p: Function1[A, Boolean]
  • now p: A => Boolean

Tuples

  • previously Tuple2[F[Boolean], F[A]]
  • now (F[Boolean], F[A])

Infix notation

  • previously def mapK[G[_]](f: ~>[F, G])(implicit G: MonadCancel[G, ? >: Nothing <: Any]): Semaphore[G]
  • now def mapK[G[_]](f: F ~> G)(implicit G: MonadCancel[G, ?]): Semaphore[G]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant