Fix typo in foreign definition in fromStringImpl