Skip to content

Js structure isn't compatible with dune #566

@davesnx

Description

@davesnx

While trying to create a fork of Js.ml (and all submodules) I found out that the structure included in this repo isn't doable in dune (for my knowledge).

The problem are circular-dependencies:

(* js.ml *)
type 'a t = < .. > as 'a

type +'a null

module Null = Js_null
(** Provide utilities around ['a null] *)
(* js_null.ml *)
type +'a t = 'a Js.null

(* .. *)
Js.whatever

This isn't a problem per-se, but if we want to reach the point of cross-compilation for Js and Belt, it would be nice to solve.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions