Skip to content
#

reasonml

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 933 public repositories matching this topic...

fnm
aantron
aantron commented Jul 29, 2021
Dream.drop_cookie name request response =
  Dream.set_cookie name "" request response ~expires:0. ~encrypt:false

Dream.drop_cookie should have all the same optionals as Dream.set_cookie, and simply forward them, except that it shouldn't have ~expires, ~max_age, or ~encrypt at all. It can be added right after `set_sooki

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

thangngoc89
thangngoc89 commented Aug 4, 2019

Relevant issue: jsdelivr/jsdelivr#18166


Update

So apparently jsdelivr will minify the main entry file and add .min. in its name. Since we check for the name. And the minified file could saves a lot of bytes and improve parsing speed for the bundler.

So we would save this default file provided by jsdelivr, check with what's provided in main field

Created by Jordan Walke

Released 2016

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

Related Topics

javascript language ocaml react