Is there any reason not to use the INLINABLE pragma for a function?
There are three differences between using INLINABLE and not using a pragma at all: Without INLINABLE, the definition that goes in the interface file is the code after optimisation, whereas with INLINABLE, it is the code you wrote (more or less). In particular, without INLINABLE, GHC might inline other functions into the function’s definition. Without … Read more