Start of variadic printf post
This commit is contained in:
parent
109165b80e
commit
bdceab7652
4 changed files with 67 additions and 0 deletions
14
db/posts/5.json
Normal file
14
db/posts/5.json
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"edited-at": [
|
||||
],
|
||||
"hidden": false,
|
||||
"idris": true,
|
||||
"ipkg": "/home/nathan/Projects/Blog/projects/Idris/Idris.ipkg",
|
||||
"posted-at": "2025-02-09T06:23:37.499533-05:00",
|
||||
"slugs": [
|
||||
],
|
||||
"source": "/home/nathan/Projects/Blog/projects/Idris/src/LessMacrosMoreTypes/Printf.md",
|
||||
"tags": [
|
||||
"idris"
|
||||
]
|
||||
}
|
7
db/series/0.json
Normal file
7
db/series/0.json
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"desc": "Macros are annoying, but an unfortunate fact of life in many programming languages. Especially in languages with nominally \"strong\" type systems, like Rust, macros are quite frequently needed to work around the type system to avoid needless repetition when consuming an API, generate formulaic boilerplate that only exists to please the type system, or work around the lack of variadic functions for things like printf. Lets explore the ways we can use dependently typed constructs to eliminate the need for such macros.",
|
||||
"post-ids": [
|
||||
5
|
||||
],
|
||||
"title": "Less Macros, More Types"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue