update inbox list
This commit is contained in:
22
vendor/scrivo/highlight.php/test/detect/elm/default.txt
vendored
Normal file
22
vendor/scrivo/highlight.php/test/detect/elm/default.txt
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
import Browser
|
||||
import Html exposing (div, button, text)
|
||||
import Html.Events exposing (onClick)
|
||||
|
||||
type Msg
|
||||
= Increment
|
||||
|
||||
main =
|
||||
Browser.sandbox
|
||||
{ init = 0
|
||||
, update = \msg model -> model + 1
|
||||
, view = view
|
||||
}
|
||||
|
||||
view model =
|
||||
div []
|
||||
[ div [] [ text (String.fromInt model) ]
|
||||
, button [ onClick Increment ] [ text "+" ]
|
||||
]
|
||||
|
||||
chars =
|
||||
String.cons 'C' <| String.cons 'h' <| "ars"
|
||||
Reference in New Issue
Block a user