Skip to main content

L1347 - Fun Capture of an Imported Function

An unqualified fun capture cannot refer to a function imported with -import.

-import(lists, [reverse/1]).
f() -> fun reverse/1.

Use the module-qualified form fun lists:reverse/1 instead.