- Q1
如何在 neovim 裡註冊一個新的 filetype
- Q2
如果建立了一個新的 neovim plugin,比方說,叫做 conjure-piglet-client
該 plugin 用 fnl 寫多數的邏輯。
如何在 neovim 裡註冊一個新的 filetype
如果建立了一個新的 neovim plugin,比方說,叫做 conjure-piglet-client
該 plugin 用 fnl 寫多數的邏輯。
In JVM Clojure, Exceptions are for operating errors ("something went wrong") and Assertions are for programmer and correctness errors ("this program is wrong").
An assert
might be the right tool if throwing an Exception isn't enough. Use
them when the assertion failing means
import numpy as np | |
import matplotlib.pyplot as plt | |
# 假設參數 | |
lambda_visits = 5 # 主動拜訪次數的均值 | |
lambda_leads = 3 # 主動找上門的客戶數均值 | |
alpha = 0.1 # 主動拜訪轉換率 | |
beta = 0.5 # 主動找上門轉換率 | |
# 蒙地卡羅模擬 |
Find People Born in the Fifties | |
Using the sandbox on the right, write and execute a query to return people born in the 1950’s (1950 - 1959) that are both Actors and Directors. | |
How many Person nodes are returned? | |
``` | |
MATCH(p:Actor) | |
WHERE p:Director AND date('1950-01-01') <= date(p.born) < date('1959-12-31') | |
RETURN count(p) | |
``` |
(ns myproject | |
"FIXME: my new org.corfield.new/scratch project." | |
(:require [clojure.walk :as walk])) | |
(def tree | |
(list #:cil{:id 2 | |
:children | |
(list #:citl{:id 2 :ip 2 | |
:children | |
(list #:citl{:id 5 :tp 2} |