Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.
2 added 293 characters in body
source | link

05AB1E, 18 bytes

F…> <N'-×.ø#`})s£»

Try it online!


F            }     # Loop from 0 to input...
 …> <              # Push '> <'...
     N'-×          # Push "-" multiplied by N.
         .ø        # Surround with this.
           #`      # Split on spaces, flatten both directions to stack.
              )    # Group all entries together after loop.
               s£  # Take first N.
                 » # Print with newlines.

Non-iterative, same byte-count:

05AB1E, 18 bytes

'-ש'>«.s®'<ìη.ιs£

Try it online!

Other, other method:

05AB1E, 18 bytes

'-×'>«.sð«.º€#˜s£

Try it online!

05AB1E, 18 bytes

F…> <N'-×.ø#`})s£»

Try it online!


F            }     # Loop from 0 to input...
 …> <              # Push '> <'...
     N'-×          # Push "-" multiplied by N.
         .ø        # Surround with this.
           #`      # Split on spaces, flatten both directions to stack.
              )    # Group all entries together after loop.
               s£  # Take first N.
                 » # Print with newlines.

05AB1E, 18 bytes

F…> <N'-×.ø#`})s£»

Try it online!


F            }     # Loop from 0 to input...
 …> <              # Push '> <'...
     N'-×          # Push "-" multiplied by N.
         .ø        # Surround with this.
           #`      # Split on spaces, flatten both directions to stack.
              )    # Group all entries together after loop.
               s£  # Take first N.
                 » # Print with newlines.

Non-iterative, same byte-count:

05AB1E, 18 bytes

'-ש'>«.s®'<ìη.ιs£

Try it online!

Other, other method:

05AB1E, 18 bytes

'-×'>«.sð«.º€#˜s£

Try it online!

1
source | link

05AB1E, 18 bytes

F…> <N'-×.ø#`})s£»

Try it online!


F            }     # Loop from 0 to input...
 …> <              # Push '> <'...
     N'-×          # Push "-" multiplied by N.
         .ø        # Surround with this.
           #`      # Split on spaces, flatten both directions to stack.
              )    # Group all entries together after loop.
               s£  # Take first N.
                 » # Print with newlines.