This document introduces a Marp Next theme created by the author, which includes different color options like default, purple, blue, green, orange, pink, and red that can be applied to slides. Each color option is demonstrated with an example slide specifying the necessary class to center the text without a lead class. In total, 12 different color variations of the theme are shown.
This document introduces different Marp themes that can be used for slide presentations, including default, inverted, purple, blue, green, orange, pink, and red themes. The document provides examples of how to enable each theme using Markdown comments. It concludes by thanking the reader for their time.
This document introduces different Marp themes that can be used for slide presentations, including default, inverted, purple, blue, green, orange, pink, and red themes. The document provides examples of how to enable each theme using Markdown comments. It concludes by thanking the reader for their time.
5. Elchemy
Elm => Elixir のトランスパイラ
2017年2月に first commit
両者のいいとこどり
Elm
純粋関数型・静的型付けな AltJS
Haskellに似た構文(中身はかなり違う)
The Elm Architecuture の DSL
6. 例: 総和を求める関数
Elchemy です
module Hello exposing (..)
sum : List Int -> Int
sum list =
case list of
first :: rest ->
first + sum rest
[] ->
0
7. 例: 総和を求める関数
Elixir です
defmodule Hello do
use Elchemy
@spec sum(list(integer)) :: integer
curry sum/1
def sum(list) do
case list do
[first | rest] ->
(first + sum(rest))
[] ->
0
end
end
end