question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Much feature requests

See original GitHub issue

Constants

  • kT - BF command set
  • kṗ - List of all bracket pairs - [(),[],{},<>]
  • kṖ - All brackets nested - ([{<>}])
  • kg - Phi
  • kS - Amogus ()
  • k₂ - 2^20
  • k₃ - 2^30
  • k∪ - lowercase vowels with y
  • k⊍ - uppercase vowels with y
  • k∩ - both cases of vowels with y
  • Þo -Infinite list of ordinals
  • Þc - Infinite list of cardinals
  • Þp - Infinite list of primes

Flags

  • #407
  • #408
  • t - Lists are truthy if any item is truthy, else falsy
  • #456
  • #455
  • 2 - Default lambda arity = 2
  • 3 - Default lambda arity = 3

String stuff

  • øb = Enclose in ()
  • øB = Enclose in []
  • øḃ = Enclose in {}
  • øḂ = enclose in <>
  • øβ - Are brackets ((),{},[],<>) balanced?
  • ø↳ and ø↲ = custom left / right padding
  • øĿ - Ring translate
  • øv - Is_vowel - handles like C for multichar strings
  • øċ - Is_uppercase - handles like C for multichar strings, 1 if char is an uppercase ASCII letter, else 0
  • øM = Palindromise (don’t duplicate middle) with ascii-art swap mappings

Number stuff

  • ∆i - nth-digit-of-pi
  • ∆ė - nth-digit-of-e
  • ∆I - First n digits of pi
  • ∆Ė - First n digits of e
  • ∆f - nth-fibonacci-number
  • ∆ε - Evaluate polynomial equation with coefficents and variable
  • ÞB - Array of random bits to length n
  • ∆Z - zfill - prepend 0s to a until it’s length b

Other stuff

  • #399
  • Þu - All_unique
  • ÞẊ - Cartesian power
  • Þx - Þ× but with replacements
  • Þf - Flattento a certain depth
  • øṖ - All partitions of a string
  • #401
  • ÞC - Cut into chunks of specified length (stolen from osabie)
  • Þ< - All of a list that are less than a certain number (Assume increasing, stop as soon as you find a value ≥ that number)
  • Þǔ - Untruth - A boolean array with 1s at the elements in a, and 0s everywhere else(Stolen from Jelly)
  • Þi - Multidimensional indexing - take an array of indices and index into a multidimensional array
  • Þḟ - Multidimensional searching - find the first (multidimensional) occurence of a value
  • #402
  • #403
  • #404
  • #405
  • Þm - Given list of dimensions, create a matrix with those dimensions, filled with zeroes
  • ÞZ - Fill by coordinates - Given function + list, call with each (potentially multidimensional) coordinate of list, as list of integers, and insert result into corresponding location

Modifications

  • Random choice from a number picks a random number between 0 and n, modifiable with mM flags
  • İ vectorises fully on the right side - not erroring when given a nested list, instead going through every item
  • needs to play nice with strings not containing digits.
  • øȯ should be able to take a list of strings to remove
  • Modify so if given an index to slice to greater than the length, repeat items until it’s at the required length.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:6
  • Comments:19 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
ysthakurcommented, Aug 13, 2021

@razetime Ah, I guess that’d work. Not the highest priority, though 😄.

1reaction
pxegercommented, Aug 10, 2021

@ysthakur I think it was meant to be a constant. So kṠ would return the string or something

Read more comments on GitHub >

github_iconTop Results From Across the Web

Managing feature requests: A comprehensive guide
Feature requests are invaluable opportunities to discover ways to improve your product and better serve your users' ever-evolving needs. A smooth feature ...
Read more >
What Is a Feature Request? Definition and Examples
A feature request is a comment, message, or ask from a user to implement a specific feature into your product. Feature requests can...
Read more >
7 Useful Tips to Manage Feature Requests
Feature requests can provide product managers with great ideas for product improvement, but they must be managed correctly. Here are our top tips....
Read more >
How to Manage and Write Feature Requests?
A feature request is a request for a new feature to be added to a product or project. It can be as simple...
Read more >
Feature Requests: How to Collect Them and Engage Users ...
Feature requests are an important window into your customers desires and priorities. Here's how to make the most of them, and handle the ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found