- mitsuruog
var pattern = /^[a-z][a-z0-9_]*(\.[a-z0-9_]+)+[0-9a-z_]$/i; | |
[ | |
"me.unfollowers.droid", | |
"me_.unfollowers.droid", | |
"me._unfollowers.droid", | |
"me.unfo11llowers.droid", | |
"me11.unfollowers.droid", | |
"m11e.unfollowers.droid", | |
"1me.unfollowers.droid", |
This describes how I setup Atom for an ideal Clojure development workflow. This fixes indentation on newlines, handles parentheses, etc. The keybinding settings for enter (in keymap.cson) are important to get proper newlines with indentation at the right level. There are other helpers in init.coffee and keymap.cson that are useful for cutting, copying, pasting, deleting, and indenting Lisp expressions.
The Atom documentation is excellent. It's highly worth reading the flight manual.
This guide assumes you have the emmet
and language-babel
packages already installed in Atom
- Open the
keymap.cson
file by clicking onAtom -> Keymap…
in the menu bar - Add these lines of code to your keymap:
'atom-text-editor[data-grammar~="jsx"]:not([mini])':
sequenceResult : List (Result.Result a b) -> Result a (List b) | |
sequenceResult lst = | |
case lst of | |
x :: xs -> | |
x `Result.andThen` (\xval -> | |
(sequenceResult xs) `Result.andThen` (\xsval -> | |
Ok (xval::xsval))) | |
[] -> Ok [] |
module Modules.Auth.Login.Msg exposing (..) | |
import Http exposing (Error) | |
import Types exposing (User) | |
type LoginMsg | |
= LoginUpdateEmail String | |
| LoginUpdatePassword String |
I made a list of 20 things I might want out of a monorepo tool for a Design System to use as a basis for comparing some of the options including Lerna, Northbrook, and Rush.
読み進めるにあたって
- 問題文はfn main{}の中のコンテキストとする