This file contains hidden or 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
| (x: nat -> bool) -> | |
| let y = x 100 in | |
| y | |
| ; | |
| (x: nat -> bool) -> | |
| ((y: bool) -> y) (x 100) | |
| ; |
This file contains hidden or 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
| brew tap PX4/homebrew-px4 | |
| brew update | |
| brew install gcc-arm-none-eabi | |
| # qmk_firmwareのgitbookドキュメントより | |
| https://docs.qmk.fm/getting_started_build_tools.html | |
| brew tap osx-cross/avr | |
| brew tap PX4/homebrew-px4 | |
| brew update |
This file contains hidden or 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
| #require "core";; | |
| open Core;; |
This file contains hidden or 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 * as R from "ramda"; | |
| type M = {[string]: *}; | |
| // Ramda hasn't offer type definition of this function, but actually it exist. | |
| // See http://ramdajs.com/docs/#mergeDeepLeft | |
| export const mergeDeepLeft: | |
| (<A: M, B: M, R: A & B>(A) => B => R) & | |
| (<A: M, B: M, R: A & B>(A, B) => R) | |
| = (R: any).mergeDeepLeft; |
This file contains hidden or 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
| { | |
| // Use IntelliSense to learn about possible attributes. | |
| // Hover to view descriptions of existing attributes. | |
| // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "type": "ghc", | |
| "name": "ghci debug viewer Phoityne", | |
| "request": "launch", |
This file contains hidden or 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
| brew cask install haskell-platform | |
| stack install ghc-mod \ | |
| phoityne-vscode \ | |
| stylish-haskell \ | |
| fast-tags \ | |
| hlint |
This file contains hidden or 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
| # gdb | |
| sudo gdb ./_build/src/flow.native | |
| (gdb) br camlFlow__main_xxxx | |
| # lldb | |
| lldb ./_build/src/flow.native | |
| (lldb) br set -n camlFlow__main_xxxx |
This file contains hidden or 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
| brew install colormake | |
| export OPAMKEEPBUILDDIR=true | |
| export OCAMLPARAM="_,bin-annot=1" | |
| opam reinstall ounit |
This file contains hidden or 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
| 集合 set | |
| 部分集合 subset | |
| 集合の元 element | |
| 空集合 empty set | |
| 和集合 union of sets | |
| 共通集合 intersection of sets | |
| 補集合 complementary sets, complements | |
| 無限集合 infinite set | |
| 有限集合 finite set | |
| 直積集合 product set |
This file contains hidden or 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
| # SQLサーバへ接続する | |
| docker-compose exec database mysql -udocker -pdocker |