Instead of doing this:
defmodule LousyCalculator do
@spec add(number, number) :: {number, String.t}
def add(x, y), do: {x + y, "You need a calculator to do that?!"}
@spec multiply(number, number) :: {number, String.t}
def multiply(x, y), do: {x * y, "Jeez, come on!"}
end
How about this
On Thursday, March 14, 2019 at 9:34:30 PM UTC, Rich Morin wrote:
>
> > On Mar 14, 2019, at 11:56 AM, Unified Front > wrote:
> >
> > ... Simplification like this pays off in the long run ...
>
> Other responses have addressed various aspects of your proposal,
> including:
>
> - maintaining sta
Sven, thank you for your feedback.
As you probably have read between my written lines by now, I am new to this
ecosystem.
If any of you have taken offence to my suggestion, I do apologise.
No ill intention, I am just looking at this ecosystem with naive eyes of a
newcomer.
I am still reading up
Hi Rich
I am new to this whole ecosystem, and don't use BBEdit,
but regarding development tools, have you had a look at
CodeRunner and their language setup:
They use textmate language grammar which seems to be regular expression
based
https://macromates.com/manual/en/language_grammars
This is