From 126855a252ff15c35ddc4bcfb389d804698fe05c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ad=C3=A1m=20Brudzewsky?= Date: Mon, 6 May 2024 17:58:55 +0200 Subject: [PATCH] Add UUIDv8 and ULID --- table.tsv | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/table.tsv b/table.tsv index d39e7ce..4dc3b4b 100644 --- a/table.tsv +++ b/table.tsv @@ -301,6 +301,7 @@ bytes←⎕WA Workspace available (unused) System Constant Workspace System Func captured_output←⎕CMD cmd Execute Microsoft Windows cmd (synonym of ⎕SH) System Monadic Function System System Function shell operatingsystem commandprocessor )cmd.exe command.com https://tio.run/##SyzI0U2pTMzJT////1Hf1EdtExSAlLOvi4J6SmaRgr76//8A https://help.dyalog.com/latest/#Language/System%20Functions/cmd.htm captured_output←⎕SH cmd Execute UNIX shell cmd (synonym of ⎕CMD) System Monadic Function System System Function os operatingsystem commandprocessor linux macos aix rasbianpios )sh ash bash dash pdksh mksh zsh tcsh fish rc scsh wish https://tio.run/##SyzI0U2pTMzJT////1Hf1EdtExSAVLCHgnpOsYK@@v//AA https://help.dyalog.com/latest/#Language/System%20Functions/sh.htm class_hierarchy←⎕CLASS ref Class hierarchy for a class/instance System Monadic Function System System Function parents ancestors https://tio.run/##SyzI0U2pTMzJT///38o5J7G4WMExLzM3MYfLyjUvBSzApcAFlXHKLEqxwiMfkFhUlF9iBVaHkP//PyA/J6dS4VHbBIVHfVP9XMOhCrmAPKigs49jcLACWB0A https://help.dyalog.com/latest/#Language/System%20Functions/class.htm +description←tkrange ⎕TALLOC 0 Query token range description System Function System System Function synchronisation synchronization parallel threading greenthreading querying enquire enquiring reporting getting fetching tokens https://help.dyalog.com/latest/#Language/System%20Functions/talloc.htm errno←⎕EN Error number for last reported APL error System Constant Error Message System failure code https://tio.run/##SyzI0U2pTMzJT////1FHu0LRo7YJbvn5XAoKViFFiQUKBkAWCBzeDmJZuealgISBTJDCR31TXf24gNq4gCwgXwGo8/9/AA https://help.dyalog.com/latest/#Language/System%20Functions/en.htm names←⎕XSI Full names of functions on the stack System Constant Workspace System Function extendedstateindicator extendedspaceindicator namespacepath references )si execution https://tio.run/##SyzI0U2pTMzJT///38ovMTe1uCAxOVWhspJLAQQedbQrFD1qm5CWnw8RUABzq6r00mEiQCVcVq55KXDNXEjmVFWhmpOOas6jvqkRwZ44zPn/X9MvWKGigkvTGUwpK@tVVuoBXQIA https://help.dyalog.com/latest/#Language/System%20Functions/xsi.htm names←⎕FLIB folder List component files in the specified folder System Function Component Files System Function dcf ls dir vector library https://tio.run/##SyzI0U2pTMzJT///Xz0tMyfVUV3hUd9UN@cgV8cQVwUDLrCgE5ogkPOobQJYzMfTSUFdT/3/fwA https://help.dyalog.com/latest/#Language/System%20Functions/flib.htm @@ -333,6 +334,8 @@ tdno←⎕TNUMS Report the numbers of all current threads System Constant System tdno←⎕TID The number of the current thread System Constant System System Function & synchronising synchronizing synchronisation synchronization parallelisation parallelization threading greethread )tid currentthreadidentity identification https://tio.run/##SyzI0U2pTMzJT////1Hf1EdtExSAVIinCxeUVw3h1qo96l2DTwwi9P8/AA https://help.dyalog.com/latest/#Language/System%20Functions/tid.htm tdno←⎕TCNUMS tdno The child thread numbers of the given thread numbers System Function System System Function & synchronising synchronizing synchronisation synchronization parallelisation parallelization threading greenthreading https://tio.run/##SyzI0U2pTMzJT////1Hf1EdtExSAVIizX6hvsIIBF5Dt4qNmoGfIhUfSGKekgoGeEamS//8DAA https://help.dyalog.com/latest/#Language/System%20Functions/tcnums.htm tdres←⎕TSYNC tdno Wait for threads tdno to terminate and return results System Function System System Function & synchronising synchronizing synchronisation synchronization parallelisation parallelization threading greenthreading aggragate aggregating aggregation collecting collection of returning values from threads https://tio.run/##SyzI0U2pTMzJT///v0ThUdsEhUd9U1181Iy4gDSUGxLMBSYj/ZwVSlDE//8HAA https://help.dyalog.com/latest/#Language/System%20Functions/tsync.htm +tks←tkrange ⎕TALLOC 2 Query the token pool System Function System System Function synchronisation synchronization parallel threading greenthreading querying enquire enquiring reporting getting fetching tokens https://help.dyalog.com/latest/#Language/System%20Functions/talloc.htm +tkrange_description_pairs←⎕TALLOC 0 Query all token range descriptions System Function System System Function synchronisation synchronization parallel threading greenthreading querying enquire enquiring reporting getting fetching tokens ranges https://help.dyalog.com/latest/#Language/System%20Functions/talloc.htm tktype←⎕TPOOL Type of each token in the token pool System Constant System System Function synchronising synchronizing synchronisation synchronization parallelisation parallelization threading greenthreading https://tio.run/##SyzI0U2pTMzJT///Xz0jNScnX11BvTy/KCdFXeFR39SQgNCQQyuMFQy5gJxHbRPAQv7@Pkhcd9cQDOn//wE https://help.dyalog.com/latest/#Language/System%20Functions/tpool.htm tktype←⎕TREQ tdno List token types that threads tdno are have requested and are waiting for System Function System System Function synchronising synchronizing synchronisation synchronization parallelisation parallelization threading greenthreading vector requests https://help.dyalog.com/latest/#Language/System%20Functions/treq.htm tns←⎕NNUMS Tie numbers of tied files System Constant Native Files System Function https://tio.run/##SyzI0U2pTMzJT///Xz0tMyfVUK@kokRd4VHfVD/nIFfHEFcFAy71xKRkiFBAaIgCWJkRWBkXEhssH@IJUg9kPWqbAOL7hfoG//8PAA https://help.dyalog.com/latest/#Language/System%20Functions/nnums.htm @@ -387,7 +390,9 @@ r←{selectors} ⎕ATX names Attributes of names System Function System System F r←{selector} ⎕AT names Syntactical attributes of named functions or operators System Function System System Function type syntax valence arity shyness locked niladicmonadicdyadicambivalent functionoperator variadic properties author timestamp modificationtime result https://tio.run/##SyzI0U2pTMzJT////1FHu0J1Ue2jtgl@mTmJKcEZGVxAIS4QoVCh4FKZmKJQiRDRSFPwzS/w1UQSqq6ohYg6aqIqdAEqVEiHCXI96psKtERB41HXIh0g2zFEE0j6@SgcWm8MxCb//wMA https://help.dyalog.com/latest/#Language/System%20Functions/at.htm r←{encoding} ⎕UCS vec Map characters to/from Unicode code points System Function Data Conversion System Function utf-8 utf8 utf-16 utf16 utf-32 utf32 ucs-4 ucs4 ucs-2 ucs2 iso10646 ord() num() chr() char() ascii latin-1 windows-1252 ansi mapping UniversalCodedCharacterSet UniversalCharacterSet codepoints code-points converting change changing text string integers values vals https://tio.run/##SyzI0U2pTMzJT////1Hf1EdtExSAVKhzsIK6o5OzOheqmKGBgYIREBsbGMBk1END3HQt1OG6HvXu0gKy1f//BwA https://help.dyalog.com/latest/#Language/System%20Functions/ucs.htm r←{xml_options} ⎕XML data XML string to/from APL array System Function Data Conversion System Function extensiblemarkuplanguage xhtmltag xmltag converting change changing text https://tio.run/##SyzI0U2pTMzJT////1Hf1EdtExSAVISvj4K6TVF@folCYklJkaGtUllijqESmGME5hgp2WXmlRTl2yTlp1Ta2eTnperb2eiDOcn5eSWpeSU2@iD9dupcqMYaKRg/6t1ioKAOklVXUFdXMAQR6mDT1P//BwA https://help.dyalog.com/latest/#Language/System%20Functions/xml.htm +tkrange←⎕TALLOC 1 {description} Allocate token range System Function System System Function synchronisation synchronization parallel threading greenthreading reserve allocating reserving https://help.dyalog.com/latest/#Language/System%20Functions/talloc.htm {⍬}←output ⎕ARBOUT codes Transmit 8-bit codes to output device System Function System System Function streams arbitrary i/o bytes byte-stream bits https://tio.run/##SyzI0U2pTMzJT///Xz23Mi0zJ1Vd4VHfVD/nIFfHEFeFQ@sNuYAYJOQY5OQfGqJgaa5gaaFgackFFHrUNuFRVzNIubtriAJM////AA https://help.dyalog.com/latest/#Language/System%20Functions/arbout.htm +{⍬}←tkrange ⎕TALLOC ¯1 De-allocate token range System Function System System Function synchronisation synchronization parallel threading greenthreading deallocate deallocating de-allocating unreserving unreserve un-reserving un-reserve https://help.dyalog.com/latest/#Language/System%20Functions/talloc.htm {0}←⎕SIGNAL 0 Reset error-related system constants System Function Error Message System clear https://tio.run/##SyzI0U2pTMzJT/8PBCmlubmVCo/aJihUG1hZGSg86m5RUHdUP7xd3Um99lHvGq5HfVNBso/aJgJZLr4gfrCnu5@jj4IBuhwA https://help.dyalog.com/latest/#Language/System%20Functions/signal.htm {1}←0 ⎕SAVE file Save active ws without stack, ignoring any open edit or trace windows System Function File Access System Function archive store )save no ignoring cutting removing state suspended suspension https://help.dyalog.com/latest/#Language/System%20Functions/save.htm (message code position)←⎕DM Diagnostic message for last reported APL error System Constant Error Message System failure https://tio.run/##SyzI0U2pTMzJT/8PBNUGVlYKj9omPuqb6uKr8Ki7RcFQ@1Hv1lr1xKRkdQA https://help.dyalog.com/latest/#Language/System%20Functions/dm.htm @@ -456,11 +461,6 @@ r←{tn} (regex ⎕S trans) text Search text for PCRE regex returning trans (opt {old_ns}←{names} ⎕CS ns Switch to a ns, optionally exporting names System Function System System Function change navigate enter namespace into current ⎕this )cs converting changing https://tio.run/##SyzI0U2pTMzJT/8PBI/6pjpHqqeWJeaoc4HYweqpFQVgpp@PwqH1xgA https://help.dyalog.com/latest/#Language/System%20Functions/cs.htm {ref}←{flags} ⎕FIX source Define objects from source (vector of vectors or file name starting with 'file://') System Function Data Conversion System Function ⎕fx allow keeping text-as-typed save saving remembering white-spaces indents indentation code autoformatting auto-formatting layout custom text-as-is preservation source-as-typed code operator namespace class interface lists converting change changing load open fetch get bringin import https://tio.run/##SyzI0U2pTMzJT////1HfVDfPCHUrv8Tc1OKCxORUhbT8fHUF9bLEokdtE0yMgEwr17wUuLQ6F1AHUAakTA@o6P9/AA https://help.dyalog.com/latest/#Language/System%20Functions/fix.htm {tdno}←{tkval} ⎕TPUT tktype Add tokens to pool and return any tdno this unblocks System Function System System Function synchronisation synchronization parallel threading greenthreading https://help.dyalog.com/latest/#Language/System%20Functions/tput.htm -tkrange←⎕TALLOC 1 {description} Allocate token range System Function System System Function synchronisation synchronization parallel threading greenthreading reserve allocating reserving https://help.dyalog.com/latest/#Language/System%20Functions/talloc.htm -{⍬}←tkrange ⎕TALLOC ¯1 De-allocate token range System Function System System Function synchronisation synchronization parallel threading greenthreading deallocate deallocating de-allocating unreserving unreserve un-reserving un-reserve https://help.dyalog.com/latest/#Language/System%20Functions/talloc.htm -description←tkrange ⎕TALLOC 0 Query token range description System Function System System Function synchronisation synchronization parallel threading greenthreading querying enquire enquiring reporting getting fetching tokens https://help.dyalog.com/latest/#Language/System%20Functions/talloc.htm -tkrange_description_pairs←⎕TALLOC 0 Query all token range descriptions System Function System System Function synchronisation synchronization parallel threading greenthreading querying enquire enquiring reporting getting fetching tokens ranges https://help.dyalog.com/latest/#Language/System%20Functions/talloc.htm -tks←tkrange ⎕TALLOC 2 Query the token pool System Function System System Function synchronisation synchronization parallel threading greenthreading querying enquire enquiring reporting getting fetching tokens https://help.dyalog.com/latest/#Language/System%20Functions/talloc.htm {tkval}←{timeout} ⎕TGET tktype Remove tokens of types tktype from the token pool System Function System System Function synchronisation synchronization parallel threading greenthreading delete drop without removing erasing erase eliminate eliminating deleting https://help.dyalog.com/latest/#Language/System%20Functions/tget.htm {tn}←⎕FHOLD tn {pn} Hold tied file tied with number tn and optionally passnumber pn (can be a matrix of tn {pn}) System Function Component Files System Function dcf block wait synchronisation synchronization parallel threading greenthreading https://help.dyalog.com/latest/#Language/System%20Functions/fhold.htm {tn}←file ⎕NTIE tn {file_mode} Tie a file with number tn in the specified mode (tn 0 to generate tn) System Function Native Files System Function open file descriptor handle https://tio.run/##SyzI0U2pTMzJT///Xz0xKVn9Ud9Uv4DQEPW0zJxUvZKKEnWukjyFR20TFBAiICUhnq4KBlxAFkgKJBDsGeWqUJL3/z8A https://help.dyalog.com/latest/#Language/System%20Functions/ntie.htm @@ -653,6 +653,7 @@ Iv⊢⍤⍀Y Expand leading axis of Y (forces ⍀ to be a function even with a f ⍉∘+Nm Conjugate Transpose Tacit Monadic Function Mathematical self-adjoint selfadjoin Yᴴ Y^H Y† Y^† Aᴴ A^H A† A^† ⌽∘⍉Ym Rotate 90° clockwise Tacit Monadic Function Structural turning rotating rotation -90° ¯90° quarter-turn quarterturn https://tio.run/##SyzI0U2pTMzJT////1Hf1EdtExRAwFjB@FHvlke9my25oKKPevY@6pjxqLcTSe7/fwA ⍉∘⌽Ym Rotate 90° counter-clockwise Tacit Monadic Function Structural turning rotating rotation -90° ¯90° quarter-turn quarterturn counterclockwise https://tio.run/##SyzI0U2pTMzJT////1Hf1EdtExRAwFjB@FHvlke9my25oKKPejsfdcx41LMXSe7/fwA +⍉∘↑Yv Matrix with columns from vectors Yv Tacit Monadic Function Structural transpose columns table lists ⍉∘⍪Yv Forming first row of a matrix for later expansion Tacit Monadic Function Structural default initialise initialize 1st table https://tio.run/##SyzI0U2pTMzJT////1Hf1EdtExQe9W5RAAFDBSMFYy4kwUe9nY86ZjzqXQWR@v8fAA ⍉∘⍪Yv Reshaping vector Yv into a one-row matrix Tacit Monadic Function Structural 1-row table list https://tio.run/##SyzI0U2pTMzJT////1Hf1EdtExQe9W5RAAFDBSMFYy4kwUe9nY86ZjzqXQWR@v8fAA M+.×N Dot/Vector/Cross/Matrix Product of M and N (¯1↑⍴M ↔ 1↑⍴N) Tacit Dyadic Function Mathematical dotproduct vectorproduct crossproduct ∙ ⋅ · multiplication multiply @@ -715,7 +716,6 @@ Xs∨.≠⍨Y Do rows of Y contain elements differing from Xs? Tacit Dyadic Func Xv,[0.5]Yv Two-row matrix from two vectors (repeat scalars) Tacit Monadic Function Structural table lists rows Mv⊥⍨∘⍪Nv Evaluate polynomial with descending coefficients Mv for point(s) Nv Tacit Dyadic Function Mathematical apply https://tio.run/##SyzI0U2pTMzJT////1Hf1EdtExSMFQ6tN1QwUXjUtfRR74pHHTMe9a5SMFAwVDACSik86p2rkKZRoalgq2BccWiTboW2iUJafpFChUJmnkK1gY6hjpGOce3//wA Cv⎕NPUT⍨∘⊂Dv Write text (vector or vector of vectors) Dv to Unicode file Cv Tacit Dyadic Function System native files dump cat save to 🐈 ascii ansi Windows-1252 UTF-8 UTF-16LE UTF-16BE UTF-32LE UTF-32LE vtv charvec charactervector textvector string https://tio.run/##SyzI0U2pTMzJT///Xz23Mi0zJ1WvpKJEXUHjUd9Uv4DQkEe9Kx51zHjU1aSpoO6RmpOTr66gHp5flJOizgVU8ahtggJIobtriAKy9v//AQ -⍉∘↑Yv Matrix with columns from vectors Yv Tacit Monadic Function Structural transpose columns table lists I(1+-)J Inclusive integer difference Tacit Dyadic Function Mathematical span distance fence-post range M(×-)N Sign of difference (¯1:M is smaller, 0:M=N, 1:M is bigger) Tacit Dyadic Function Comparison signum cmp() <=> >-< spaceship space-ship three-way compare comparing comparison M(1-×)N Probabilistic NAND Tacit Dyadic Function Mathematical fuzzy probability chance shefferstroke notand alternativedenial Dpq ⊼ @@ -2277,10 +2277,10 @@ ns.name Namespace Member Syntax Expression namespaceseparator dotinto point pe ⍬⊤⍬ zero-by-zero numeric matrix Constant Expression 0⍴0 table empty void https://tio.run/##SyzI0U2pTMzJT////1Hf1EdtExQ0DBQMHvVuMdBUeNS5UOFR75pHXUuA5P//AA 1111⌶Jv Number of Threads I-beam Monadic Function Monadic Operator Function Application multithreading parallelprocessing performance affinity ibeam https://tio.run/##SyzI0U2pTMzJT///Xz05t6BC/VHfVOdI9ZS0vGJ1Lq7ER20T7A0NQOBR7xYDriQ0PhdQNVBIAawz8VHHiiSFR12LFQyB4FHPNgVDdQUsokbq//8DAA https://help.dyalog.com/latest/#Language/I%20Beam%20Functions/Number%20Of%20Threads.htm 1112⌶Js Parallel Execution Threshold I-beam Monadic Function Monadic Operator Function Application multithreading parallelprocessing performance affinity ibeam https://tio.run/##SyzI0U2pTMzJT///Xz05t6BC/VHfVOdI9ZS0vGJ1Lq7ER20T7A0NgOBR7xYDriRULhdQLVBEAawv8VHHiiSFR12LFQyB4FHPNgVDdQUsokZAY4FMIyAbbBKZhvz/DwA https://help.dyalog.com/latest/#Language/I%20Beam%20Functions/Parallel%20Execution%20Threshold.htm -1302⌶Dv Set APLCORENAME configuration parameter I-beam Monadic Function Monadic Operator System envvar confparam configure pattern ibeam Ibeam https://help.dyalog.com/latest/#Language/I%20Beam%20Functions/Set%20aplcore%20Parameters.htm -1302⌶Is Set MAXAPLCORES configuration parameter I-beam Monadic Function Monadic Operator System envvar confparam configure limit count ibeam Ibeam https://help.dyalog.com/latest/#Language/I%20Beam%20Functions/Set%20aplcore%20Parameters.htm -1302⌶Y Set APLCORENAME and MAXAPLCORES configuration parameters (Y:Dv Js) I-beam Monadic Function Monadic Operator System envvar confparam configure pattern limit count configurations ibeam Ibeam https://help.dyalog.com/latest/#Language/I%20Beam%20Functions/Set%20aplcore%20Parameters.htm 127⌶⍬ Overwrite Free Pockets I-beam Constant Monadic Operator System memory wipe ibeam https://help.dyalog.com/latest/#Language/I%20Beam%20Functions/Overwrite%20Free%20Pockets.htm +1302⌶Y Set APLCORENAME and MAXAPLCORES configuration parameters (Y:Dv Js) I-beam Monadic Function Monadic Operator System envvar confparam configure pattern limit count configurations ibeam Ibeam https://help.dyalog.com/latest/#Language/I%20Beam%20Functions/Set%20aplcore%20Parameters.htm +1302⌶Is Set MAXAPLCORES configuration parameter I-beam Monadic Function Monadic Operator System envvar confparam configure limit count ibeam Ibeam https://help.dyalog.com/latest/#Language/I%20Beam%20Functions/Set%20aplcore%20Parameters.htm +1302⌶Dv Set APLCORENAME configuration parameter I-beam Monadic Function Monadic Operator System envvar confparam configure pattern ibeam Ibeam https://help.dyalog.com/latest/#Language/I%20Beam%20Functions/Set%20aplcore%20Parameters.htm 160⌶0 Config file contents (unofficial) I-beam Monadic Function Monadic Operator System envvar registry cmdline commandline command-line cli settings configuration ibeam Ibeam 161⌶Dv Configuration parameter value and origin (unofficial) I-beam Monadic Function Monadic Operator System envvar registry cmdline commandline command-line cli settings file ibeam Ibeam 180⌶Dv Canonical Representation (⎕CR) for methods I-beam Monadic Function Monadic Operator Data Conversion code oo classes private public shared instance ibeam converting change changing methods functions https://tio.run/##SyzI0U2pTMzJT///38o5J7G4WCGZ61FHu0JwanJRagmXgsKj3rkKwRkZjxqWgcS5rFzzUsDquLge9U191DZB4VHnIigrWU/D0MLgUc82TQV1iH51bIqADOcguIr//wE https://help.dyalog.com/latest/#Language/I%20Beam%20Functions/Canonical%20Representation.htm @@ -3674,8 +3674,10 @@ op←{⍵⍵ ⍺} Prototypical dyadic dop deriving dyadic functions Syntax Dyadi 1⌽,⍨9⍴'''1⌽,⍨9⍴''' An expression giving itself Constant Text quine string https://tio.run/##SyzI0U2pTMzJT/8PBIaPevbqPOpdYfmod4u6ujoaFwA {2⎕NQ#'DeleteTypeLib'⍵}∘⊃¨2⎕NQ#'ListTypeLibs' Delete all loaded TypeLibs Expression .NET interface System deletion deleting removal removing remove unloading COMserver COMobjects COMlibraries Is{3⊃⊃¯1⎕DT ¯1+1⎕DT⊂1+0 12⊤1+12⊥⍺,⍵-1}Js Number of days in month Js of year Is Constant System calendar length this +(⎕D,⎕A~'ILOU')[(1+(10⍴32)⊤12⎕DT'Z'),?16⍴32] Generate random ULID Expression Text Universally Unique Lexicographically Sortable Identifier generation generating randomised randomized string ⎕SE.(⍎⊃2⎕FIX'file://','/StartupSession.aplf',⍨2⎕NQ#'GetEnvironment' 'DYALOG') Initialise session (Dyalog.Utils, Link, SALT, user commands, etc.) in runtime or shell script Expression System start ucmds usercommands ] dyalogrt dyalogscript dyascript ]link initialize ⍎⊖⍕⊃⊂|⌊-*+○⌈×÷!⌽⍉⌹~⍴⍋⍒,⍟?⍳0 Meaning of life (traditional) Constant Expression hitchhiker'sguidetothegalaxy hitchhikersguidetothegalaxy Deep Thought 42 HG2G HHGTTG H2G2 tHGttG the Answer to the Ultimate Question Life, the Universe, and Everything FinnAPL https://tio.run/##AVEArv9hcGwtZHlhbG9n///ijpXihpDijY7iipbijZXiioPiioJ84oyKLSor4peL4oyIw5fDtyHijL3ijYnijLl@4o204o2L4o2SLOKNnz/ijbMw//8 -'-'@(4+5×⍳4)⊢(⎕D,⎕C⎕A)[4(9+|)@20⊢5@15?36⍴16] Generate random UUID Expression Text GUID version-4 variant-1 4.1 universally globally unique identifier generation generating randomised randomized string +'-'@(4+5×⍳4)⊢(⎕D,⎕C⎕A)[4(9+|)@20⊢5@15?36⍴16] Generate random UUIDv4 Expression Text GUID version-4 universally globally unique identifier generation generating randomised randomized string +{⎕IO←0 ⋄ (,~⊃)' ---- ',8 4⍴(⎕D,⎕C⎕A)[((12⍴16)⊤12⎕DT'Z'),7,4(8+|)@3?19⍴16]} Generate random UUIDv7 Expression Text GUID version-7 universally globally unique identifier generation generating randomised randomized string ⎕SIGNAL⊂⎕DMX.(('EN'EN)('EM'EM)('Message'(OSError{⍵,2⌽(×≢⊃⍬⍴2⌽⍺,⊂'')/'") ("',⊃⍬⍴2⌽⍺}Message))) Re-signal last caught error to caller (works with any ⎕IO and ⎕ML) Constant Expression Error Message emulate re-throwing rethrowing re-raising reraising resignalling trapped https://tio.run/##SyzI0U2pTMzJT///qG9qSJBjgP6j3hWP2iYYKCg86p2rkJyTmlikEOLpr16skFpUlF@kUFKUWFCQmZf@////Rx3tCm75@QppmTmpXAoKViFAKQUDIAsEgMb5ubuGwCVdc4pTEVLBnu5@jj6PupqAbBffCD0NDXVXPyDSBNK@QASkfVOLixPTU9U1/INdQTZXP@rdqmP0qGevxuHpjzoXPepqftS75lHvFpDQo95dOkDD1NU19dWVNBU0lNR10OVroeZpamqCnZOXAnIuF9APXEA/qOfll@hmpBal6pVUlKgDAA ⎕DMX.(OSError{⍵,2⌽(×≢⊃⍬⍴2⌽⍺,⊂'')/'") ("',⊃⍬⍴2⌽⊆⍺}Message{⍵,⍺,⍨': '/⍨×≢⍺}⊃⍬⍴DM,⊂'') Construct first line of printed error message (works with any ⎕IO and ⎕ML) Constant Expression Error Message extract fetch get 1st https://tio.run/##SyzI0U2pTMzJT////1FHu0Jucfqjtglu@fkKaZk5qVwKClYhRYkFCgZAFgg86pvq5@4aApd0zSlOhUpBdAIVuPhG6Gn4B7sWFeUXVT/q3apj9Khnr8bh6Y86Fz3qan7Uu@ZR7xaQ0KPeXTqPuprU1TX11ZU0FTSU1HWMwQp21fqmFhcnpqeCdYOV9a5Qt1JQ1wfSEHOAauBmufhCjQE7KC8F5GAuoF@4gG6B@kU9L79ENyO1KFWvpKJE/f9/AA