• Packages
  • Themes
  • Documentation
  • Blog
  • Discussions
Sign in

crocodile

Docstrings for Crystal methods
crystal-data
0.1.0 26
0
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

crocodile

Generate's basic function docstrings for Crystal function definitions.

def flip(t : Tensor | Enumerable, axis : Int) : Tensor
  ...
end

Becomes

# Brief description of flip
#
# Arguments
# ---------
# t : Tensor | Enumerable
#   Brief description of t : Tensor | Enumerable
# axis : Int
#   Brief description of axis : Int
#
# Returns
# -------
# Tensor
#
# Examples
# --------
def flip(t : Tensor | Enumerable, axis : Int) : Tensor
  ...
end

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by