The Wayback Machine - https://web.archive.org/web/20200909120548/https://github.com/topics/reason
Skip to content
#

Reason

reason logo

Reason gives OCaml a familiar syntax geared toward JavaScript programmers, and caters to the existing NPM/Yarn workflow folks already know. In that regard, Reason can be considered as a solidly, statically typed, faster, and simpler cousin of JavaScript.

Here are 282 public repositories matching this topic...

rauanmayemir
rauanmayemir commented Apr 2, 2019

As marked in https://github.com/briskml/brisk/blob/master/examples/hacker-news/app/Story.re#L82, we'll need to transform incoming html.

<p> tags are not rendered with proper margin/padding by Cocoa in NSTextView by default, and instead of manually changing document attributes on ObjC bindings side, simply pre-processing html text and replacing paragraphs by newline characters seems more prefe

ManasJayanth
ManasJayanth commented Sep 1, 2020

The new npm style require syntax works by emiting modules that alias the namespace like this

(rule
    (with-stdout-to FooCliPesyModules.re
        (run echo  "module AliasedDep = DepNamespace;\
                  \nmodule AliasedDep2 = Dep2Namespace;")))

If users, especially experienced ones, know the namespace of the library beforehand and the use same,

"imports": [

Created by Jordan Walke

Released 2016

Latest release almost 3 years ago

Repository
facebook/reason
Website
reasonml.github.io
Wikipedia
Wikipedia

Related Topics

javascript language ocaml react
You can’t perform that action at this time.