Skip to content

Commit

Permalink
Update docs/src/content/docs/book/import.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: Anton Trunov <[email protected]>
  • Loading branch information
novusnota and anton-trunov authored Nov 20, 2024
1 parent 7263c88 commit 7157a2e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions docs/src/content/docs/book/import.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,6 @@ import "./dns.fc";
native dnsStringToInternal(str: String): Slice?;
```

## Import Fift code

Tact does not allow you to import Fift code using the `import{:tact}` keyword. However, you can write almost any Fift code in [`asm{:tact}` functions](/book/functions#asm). The only limitations compared to writing `.fif` files come from trying to redefine the right brace `}`, using it out of place or otherwise messing with it.

Note, that the `Fift.fif` and `Asm.fif` libraries are imported and accessible by default, so you must not include those yourself.

Read more about `asm{:tact}` functions in their dedicated section: [Assembly functions](/book/functions#asm).

## Standard libraries

See [Standard libraries overview](/ref/standard-libraries).

0 comments on commit 7157a2e

Please sign in to comment.