Closed lthibault closed 4 years ago
Yea I realised this sometime back. That's why I had initially kept the Any
as interface{}
type only. 😛
Yea I realised this sometime back. That's why I had initially kept the
Any
asinterface{}
type only. 😛
Haha I know, I know ... you called it! 😅
@spy16 I had initially assumed that any parens form would be renderable into a valid s-expression, but this turns out to have been a mistake. Most things can be rendered back into an s-expression, but not all.
For example, Wetware has a notion of a process (think: UNIX process). What does the s-expression look like for a running process?
This PR removes the
SExpr()
method fromAny
, opting instead for the optional interfaceSExpressable
. This changes is backwards-compatible.⏱️ Estimated review time: <5 min ✅ Merge when ready