| 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
| ' Compiling icu_properties v2.1.1\n' + | |
| "warning: libsql-ffi@0.9.27: bundled/src/sqlite3.c:15224:10: fatal error: 'stdio.h' file not | |
| found\n" + | |
| 'warning: libsql-ffi@0.9.27: 15224 | #include <stdio.h>\n' + | |
| 'warning: libsql-ffi@0.9.27: | ^~~~~~~~~\n' + | |
| 'warning: libsql-ffi@0.9.27: 1 error generated.\n' + | |
| 'error: failed to run custom build command for `libsql-ffi v0.9.27`\n' + | |
| '\n' + | |
| 'Caused by:\n' + | |
| " process didn't exit successfully: |
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
| [derive(Tags)] | |
| pub enum ApiTags{ | |
| Query, | |
| } | |
| #[derive(Deserialize, Serialize, Clone)] | |
| #[serde(untagged)] | |
| pub enum ColumnData{ | |
| Text(String), | |
| Integer(i64), |
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" |