language | contributors | filename | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
gleam |
|
learngleam.gleam |
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
#!/usr/bin/env -S dotnet fsi | |
open System | |
open System.Diagnostics | |
open System.Threading.Tasks | |
type CommandResult = | |
{ ExitCode: int | |
StandardOutput: string | |
StandardError: string } |
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 simplifile as file | |
import gleam/string | |
import gleam/regex.{type Regex} | |
import gleam/io | |
import gleam/list | |
import gleam/int | |
import gleam/bool | |
pub type Game { | |
Game(id: Int, red: Int, blue: Int, green: Int) |
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
[package] | |
name = "leptos_frontend" | |
version = "0.1.0" | |
edition = "2021" | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | |
[dependencies] | |
leptos = "0.3.1" | |
reqwasm = "0.5" |