This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
desmond@ubuntu:~/obj$ lsb_release -a | |
No LSB modules are available. | |
Distributor ID: Ubuntu | |
Description: Ubuntu 18.04.1 LTS | |
Release: 18.04 | |
Codename: bionic | |
desmond@ubuntu:~$ sudo apt-get update | |
[sudo] password for desmond: | |
Hit:1 http://us.archive.ubuntu.com/ubuntu bionic InRelease |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open BsReactNative; | |
open ReasonReact; | |
module RenderTable = { | |
let component = ReasonReact.statelessComponent("RenderTable"); | |
let make = (~rowHeight, ~patients, children) => { | |
...component, | |
render: _self => | |
<View> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Store = { | |
type actions = | |
| Increase | |
| Decrease; | |
type state = {count: int}; | |
type store = { | |
state, | |
dispatch: actions => unit | |
}; | |
let component = ReasonReact.reducerComponent("Store"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open BsReactNative; | |
type item = { | |
name: string, | |
age: int | |
}; | |
let data = [| | |
{name: "Devin", age: 22}, | |
{name: "Jackson", age: 12}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open BsReactNative; | |
type item = { | |
name: string, | |
age: int | |
}; | |
let data = [| | |
{name: "Devin", age: 22}, | |
{name: "Jackson", age: 12}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import {Alert, SectionList, View, ScrollView, Text, StyleSheet} from 'react-native'; | |
const data = [ | |
{key: 'Devin'}, | |
{key: 'Jackson'}, | |
{key: 'James'}, | |
{key: 'Joel'}, | |
{key: 'John'}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Configuring for host x86_64-apple-darwin15.6.0 ... | |
Configuring for target x86_64-apple-darwin15.6.0 ... | |
Using compiler gcc. | |
The C compiler is ANSI-compliant. | |
Checking the sizes of integers and pointers... | |
Wow! A 64 bit architecture! | |
This is a little-endian architecture. | |
Doubles can be word-aligned. | |
64-bit integers can be word-aligned. | |
Native division and modulus have round-towards-zero semantics, will use them. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Took over 40 minutes to execute (then died). | |
Air:~> npm install -g git://github.com/reasonml/reason-cli.git#beta-v-1.13.5 -verbose | |
npm info it worked if it ends with ok | |
npm verb cli [ '/usr/local/bin/node', | |
npm verb cli '/usr/local/bin/npm', | |
npm verb cli 'install', | |
npm verb cli '-g', | |
npm verb cli 'git://github.com/reasonml/reason-cli.git#beta-v-1.13.5', | |
npm verb cli '-verbose' ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
more /Users/desmond/.npm/_logs/2017-06-17T05_48_29_953Z-debug.log | |
0 info it worked if it ends with ok | |
1 verbose cli [ '/usr/local/Cellar/node/7.10.0/bin/node', | |
1 verbose cli '/usr/local/bin/npm', | |
1 verbose cli 'run', | |
1 verbose cli 'build' ] | |
2 info using npm@4.2.0 | |
3 info using node@v7.10.0 | |
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ] | |
5 info lifecycle interactive-pictures@0.0.0~prebuild: interactive-pictures@0.0.0 |