Skip to content

MateuszSab/my-zip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

my-zip

What it does?

App zips two sequences even if they are of different length. Remaining elements are added to the end of a new sequence.

Dependencies

It is a Scala program created in Intellij Idea project.

scalaVersion := "2.13.8"

How to run

  1. Import myZip object. OR Add extends App to the myZip project object myZip extends App {…​}.

  2. Use myzip method on two sequences of any type. For example myzip(Seq(1, 2, 3), Seq('a', 'a', 'a')).

Troubleshooting

Using myzip method with a first sequence which contains CHARS converts them to INT.

@startmindmap

caption myzip method
title myZip


* myzip()

** Seq(1, 'a', 2, 'a', 3, 'a')
-- Seq(1, 2, 3)
-- Seq('a', 'a', 'a')

@endmindmap

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages