• Iustin Pop's avatar
    Fix iallocator crash when no solutions exist · e41f4ba0
    Iustin Pop authored
    Commit 54365762 added an un-guarded `head' call, which crashes with
    “Prelude.head: empty list” when no results exists for the per-instance
    allocation/relocation calls.
    This patch fixes this, and also adds another check for an unguarded
    `head' call during parsing of input data.
IAlloc.hs 6.6 KB