getImports
Analyze PureScript code to extract all import statements, revealing external module dependencies. Works independently of IDE servers, supporting absolute file paths or direct code input.
Instructions
Find all import statements in PureScript code (like 'import Data.List', 'import Prelude'). Shows what external modules the code depends on. Works without the IDE server.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
code | No | PureScript code string. | |
filePath | No | Absolute path to the PureScript file. Only absolute paths are supported. |