Packages
cake
0.3.0
4.1.0
4.0.0
3.0.0
2.2.2
2.2.1
2.2.0
2.1.3
2.1.2
2.1.1
2.1.0
2.0.2
2.0.1
2.0.0
1.1.2
1.1.1
1.1.0
1.0.1
1.0.0
1.0.0-rc.0
retired
0.15.0
retired
0.14.0
retired
0.13.0
retired
0.12.0
retired
0.11.0
retired
0.10.1
retired
0.10.0
retired
0.9.2
retired
0.9.1
retired
0.9.0
retired
0.8.0
retired
0.7.0
retired
0.6.0
retired
0.5.0
retired
0.4.0
retired
0.3.0
retired
0.2.0
retired
0.1.0
retired
0.0.1
retired
🎂 An SQL query builder for Gleam for SQL dialects 🐘PostgreSQL, 🪶SQLite, 🦭MariaDB, and 🐬MySQL
Retired package: Deprecated - a stable release is available, please use >= 1.0.0
Current section
Files
Jump to
Current section
Files
src/cake@internal@stdlib@iox.erl
-module(cake@internal@stdlib@iox).
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch]).
-export([dbg/1, inspect/1, dbg_label/2, print_dashes/0, print_dashes_tap/1, println/1, print/1, print_tap/2, inspect_print_tap/1, inspect_println_tap/1]).
-spec dbg(OKO) -> OKO.
dbg(V) ->
_pipe = V,
pprint:debug(_pipe),
V.
-spec inspect(any()) -> binary().
inspect(V) ->
_pipe = V,
gleam@string:inspect(_pipe).
-spec dbg_label(OKQ, binary()) -> OKQ.
dbg_label(V, Label) ->
_pipe = {Label, V},
pprint:debug(_pipe),
V.
-spec print_dashes() -> nil.
print_dashes() ->
_pipe = <<"─"/utf8>>,
_pipe@1 = gleam@string:repeat(_pipe, 80),
gleam@io:println(_pipe@1).
-spec print_dashes_tap(OKR) -> OKR.
print_dashes_tap(V) ->
print_dashes(),
V.
-spec println(binary()) -> nil.
println(S) ->
_pipe = S,
gleam@io:println(_pipe).
-spec print(binary()) -> nil.
print(S) ->
_pipe = S,
gleam@io:print(_pipe).
-spec print_tap(OKS, binary()) -> OKS.
print_tap(V, S) ->
_pipe = S,
gleam@io:print(_pipe),
V.
-spec inspect_print_tap(OKT) -> OKT.
inspect_print_tap(V) ->
_pipe = V,
_pipe@1 = gleam@string:inspect(_pipe),
gleam@io:print(_pipe@1),
V.
-spec inspect_println_tap(OKU) -> OKU.
inspect_println_tap(V) ->
_pipe = V,
_pipe@1 = gleam@string:inspect(_pipe),
gleam@io:println(_pipe@1),
V.