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-07 18:13:27Event JSON
{
"id": "56dfce498cb2efa239e4f94b7d52b195b7463942af383c57d00a4fa657902b0d",
"pubkey": "6fb2fd1f8df298fef3464d220666d5ae7184dfe89dc5cc7d3a177579986c31cb",
"created_at": 1686161607,
"kind": 1,
"tags": [
[
"e",
"9cfe46432c0fa07c164110c1acad44ea6d9df7a15d9bc858d6a0b516a4683320",
"",
"root"
],
[
"e",
"2486259635ed49084011031c1a4898dc4960453e7000fb91ba7e5fdd52665af6",
"",
"reply"
],
[
"p",
"4505072744a9d3e490af9262bfe38e6ee5338a77177b565b6b37730b63a7b861"
]
],
"content": "š
Original date posted:2018-07-03\nš 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)\n\nI'm happy with a _VULNERABLE or _UNSAFE postfix as a standard way to signal this.",
"sig": "40c3eb8ce5fa3baf15bd302523eb733003dc3be0d39300da8f84021611f6fc02994b3a3720fb1a42d716a2eb9e4f2ab25057909566954ce48e7f4fee0f1abc40"
}