Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 2592

Module functors vs. records-of-functions for interface/implementation separation

$
0
0

also, is there a difference between these two:

  module Log = unpack(deps.getLog("foo"))
  let module(Log) = deps.getLog("foo")

do i prefer one or the other. or do they have different uses?


Viewing all articles
Browse latest Browse all 2592

Trending Articles