The trouble is that the API will need to change, since Hald LUTs and regular LUTs are both square images; they only differ in grid sizes. Compare these two 512x512 images:
Hald support and countless other improvements have been made in https://github.com/Pixplicity/easyLUT. Let me know if you want me to make a massive PR for all this.
It would be nice if easyLUT supported Hald variant color lookup tables.
There's a nice description with some C source code on this website:
http://www.quelsolaar.com/technology/clut.html
The trouble is that the API will need to change, since Hald LUTs and regular LUTs are both square images; they only differ in grid sizes. Compare these two 512x512 images:
Conventional LUT:
Hald LUT: