{"size": 645, "ext": "scrbl", "max_stars_repo_path": "exact-decimal/docs/exact-decimal-lang.scrbl", "max_stars_repo_name": "AlexKnauth/exact-decimal-lang", "max_stars_repo_stars_event_min_datetime": "2015-02-26T08:07:16.000Z", "max_stars_repo_stars_event_max_datetime": "2018-01-25T20:56:39.000Z", "max_issues_repo_path": "exact-decimal/docs/exact-decimal-lang.scrbl", "max_issues_repo_name": "AlexKnauth/exact-decimal-lang", "max_issues_repo_issues_event_min_datetime": "2020-09-01T17:38:40.000Z", "max_issues_repo_issues_event_max_datetime": "2020-09-01T17:38:40.000Z", "max_forks_repo_path": "exact-decimal/docs/exact-decimal-lang.scrbl", "max_forks_repo_name": "AlexKnauth/exact-decimal-lang", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 4, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 32.25, "max_line_length": 98, "alphanum_fraction": 0.7612403101}
#lang scribble/manual

@title{exact-decimal-lang}

source code: @url["https://github.com/AlexKnauth/exact-decimal-lang"]

@defmodulelang[exact-decimal]{
The @racketmodname[exact-decimal] language is a lang-extension like @racketmodname[at-exp]
that reads decimals as exact rationals. 

For example, @racket[@#,hash-lang[] @#,racketmodname[exact-decimal] @#,racketmodname[racket/base]]
is a language like @racketmodname[racket/base], except that for example
@racket[0.1] reads as @racket[1/10].  You can still specify inexact numbers with
@litchar{#i} though.

@racketmod[exact-decimal @#,racketmodname[racket/base]
0.1]
produces @racket[1/10]
}
