Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dannypsnl/formatted-string
Extends racket string to formatted string
https://github.com/dannypsnl/formatted-string
racket reader-macros
Last synced: about 1 month ago
JSON representation
Extends racket string to formatted string
- Host: GitHub
- URL: https://github.com/dannypsnl/formatted-string
- Owner: dannypsnl
- Created: 2021-12-11T06:48:13.000Z (about 3 years ago)
- Default Branch: develop
- Last Pushed: 2021-12-25T06:02:25.000Z (about 3 years ago)
- Last Synced: 2024-12-31T07:45:11.603Z (about 1 month ago)
- Topics: racket, reader-macros
- Language: Racket
- Homepage: https://pkgs.racket-lang.org/package/formatted-string
- Size: 14.6 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
formatted-string
================
[![Racket Test](https://github.com/dannypsnl/formatted-string/actions/workflows/racket-test.yml/badge.svg)](https://github.com/dannypsnl/formatted-string/actions/workflows/racket-test.yml)The language extends racket string to formatted string, let's look at the following example.
```racket
#lang formatted-string racket/base(define-values (x y z) (values 1 2 3))
"x = $x, y = $y, z = $z, (+ x y z) = $(+ x y z)"
```To escape from this, write `"\$"` to get `"$"`!