Skip to content

Add Data.Reflectable #286

Description

@purefunctor

The type-level integers PR for the compiler was recently merged and it introduces automatic solving for the Reflectable class which is defined as the following.

module Data.Reflectable where

class Reflectable :: forall k. k -> Type -> Constraint
class Reflectable v t | v -> t where
  reflectType :: forall proxy. proxy v -> t

I'll open a PR once ES modules land in this repository.

Metadata

Metadata

Assignees

No one assigned

    Labels

    purs-0.15A reminder to address this issue or merge this PR before we release PureScript v0.15.0

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions