William Casarin [ARCHIVE] on Nostr: š
Original date posted:2018-07-03 š Original message: A convention in Haskell ...
š
Original date posted:2018-07-03
š Original message:
A convention in Haskell libraries is to use an "unsafe" prefix to any function that may have side effects (here be dragons, etc)
I'm happy with a _VULNERABLE or _UNSAFE postfix as a standard way to signal this.
Published at
2023-06-09 12:51:08Event JSON
{
"id": "0641e65f30448565800624f6a7a1f1a1aca3186b6ac64b1aaf2a62ab386023ac",
"pubkey": "6fb2fd1f8df298fef3464d220666d5ae7184dfe89dc5cc7d3a177579986c31cb",
"created_at": 1686315068,
"kind": 1,
"tags": [
[
"e",
"663916e8f170f60127f6aa3243b92b3d69f1c7433c345d342b16ceac1b085088",
"",
"root"
],
[
"e",
"165b896e685b9d02ccedfffa92bf6c4ded251593c48067c0dcfb5ce12cee7824",
"",
"reply"
],
[
"p",
"4505072744a9d3e490af9262bfe38e6ee5338a77177b565b6b37730b63a7b861"
]
],
"content": "š
Original date posted:2018-07-03\nš Original message:\nA convention in Haskell libraries is to use an \"unsafe\" prefix to any function that may have side effects (here be dragons, etc)\n\nI'm happy with a _VULNERABLE or _UNSAFE postfix as a standard way to signal this.",
"sig": "02943982c2e6c8c86f6e891f5fbfa3aabfada535c8d0962570b3e3635fe31f768977919936fdec70b557263969fd6440f46274f3bdb625a27293c8e918cbadd4"
}