Skip to content

govm/sigil_f

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SigilF

Make fn/0 that returns given string

hex.pm version hex.pm Build Status

Usage

import SigilF

Logger.debug(~f"It will be called only when log level is debug #{heavy_func()}")

# it is same as
Logger.debug(fn -> "It will be called only when log level is debug #{heavy_func()}" end)

Installation

If available in Hex, the package can be installed by adding sigil_f to your list of dependencies in mix.exs:

def deps do
  [
    {:sigil_f, "~> 0.1.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/sigil_f.

About

Make fn/0 that returns given string

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages