Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement jsoo constructor deriver. #356

Open
Drup opened this issue Aug 17, 2015 · 1 comment
Open

Implement jsoo constructor deriver. #356

Drup opened this issue Aug 17, 2015 · 1 comment
Assignees

Comments

@Drup
Copy link
Member

Drup commented Aug 17, 2015

Self reminder for the second part of #239 (comment). Here was the description:

  • A deriver would provide the ability to define "object constructors":
type t = < foo : int prop ; bar : int Js.optdef prop > Js.t
[@@deriving jsoo.constructor]

would define a function of type:

?bar:int -> ~foo:int -> unit -> t 
@Drup Drup self-assigned this Aug 17, 2015
@hhugo
Copy link
Member

hhugo commented Jan 11, 2022

could be used to implement #801 maybe ..

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

No branches or pull requests

2 participants