swamp_std/lib.rs
1/*
2 * Copyright (c) Peter Bjorklund. All rights reserved. https://github.com/swamp/swamp
3 * Licensed under the MIT License. See LICENSE in the project root for license information.
4 */
5pub mod pack;
6pub mod print;
7
8#[must_use]
9pub fn std_text() -> String {
10    r"
11    external 1 fn print(output: String)
12    external 2 fn pack(data: Any)
13    external 3 fn unpack(universal_hash: Int, data: [Byte])
14
15    "
16    .to_string()
17}